perl search replace on file
Snippet
kitt decided around 23:19 on 25 October 2009 to publish this:
Search and replace all instances of string in file on command line
perl -p -i -e 's/oldstring/newstring/g' * perl -p -i -e 's/oldstring/newstring/g' `find ./ -name *.html`
Add new comment