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
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
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