Chris Schuld's Blog

personal musings on the composition of software

Written By: Chris Schuld Monday, January 14th, 2008

Here is how to do a search and replace using Perl regex over a set of files:


perl -pi -e 's/source/destination/g' *.ext



Categories: Linux, Perl, Regex

Leave a Reply

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments