Sed is a wonderful and complex program. I just finished writing a little script to add a couple of meta tags into the head tag of freshly rendered index.html page.
It’s useful for adding those verify meta tags that Google and others like. I’m certainly not quick at it. 😉