Justin Martenstein ([info]jmartenstein) wrote,
@ 2006-04-25 22:22:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Search and Replace
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.



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…