Some ways to "pull out" strings from files
Archive of posts filed under the sed category.
An added twist to the usual search/replace problems.
One of the most FAQ of all times.
Temporary files don't bite, so just use them.
A task that comes up every so often, for some reason