Skip to content
Archive of posts tagged sed

Text replacement in context/out of context

An added twist to the usual search/replace problems.

Look for multiple patterns in files

One of the most FAQ of all times.

“In-place” editing of files

Temporary files don't bite, so just use them.

Print lines in reverse order

Some silly ways to print lines in reverse order

Removing newlines in text files

A task that comes up every so often, for some reason