perl search replace on file
Snippet
Posted by kitt at 23:19 on 25 October 2009
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