Recursive Search and Replace
June 11th, 2007 at 3:38 pm by Bob Weber (Perl)
This post is mostly a reference for me.
This is my favorite perl one line command
perl -p -i -e ’s/oldstring/newstring/g’ *
Read the full article at Joseph Scott’s Blog
Popularity: 12%




Vim - Multiple Files said,
April 9, 2008 at 1:12 pm
[…] common, like a new link. Sure, sometimes there are other methods of doing this, like a simple command line search and replace perl script . Sometimes though, the regular expression is just too much of a pain to write, and it’s just […]