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

Recursively Traverse Directory And Replace Function Calls

I would like to traverse a directory recursively and find all files that have at least one of the f… Read more Recursively Traverse Directory And Replace Function Calls

Converting A Sed Regular Expression To Python Code

I can understand the following sed regular expression. sed 's/.*\(SNAP=[^|]*\) |.*/\1/'… Read more Converting A Sed Regular Expression To Python Code

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