Skip to content Skip to sidebar Skip to footer
Showing posts with the label Awk

Bash Script To Select A Single Python Function From A File

For a git alias problem, I'd like to be able to select a single Python function from a file, by… Read more Bash Script To Select A Single Python Function From A File

Invalid Char In Expression Awk, Python

I have a command that looks like this: ps v -p 2585 | awk '{if ($9 != '%MEM') {print $9… Read more Invalid Char In Expression Awk, Python

Multi-line Search And Replace

I have an unstructured file and I would like to search and replace pattern of strings. Must repla… Read more Multi-line Search And Replace