I spent most of Sunday morning trying to figure out how to do a global search and replace in Unix. This led to a lot of reading and experimenting with grep and sed. I don't use these tools enough to feel really comfortable with them - something I need to get in the habit of doing.
I didn't find a viable solution until yesterday, when I googled a fairly simple
one-line script in Perl.