Replacing a string in a set of files
% perl -pi.bak -e 's/OLDSTRING/NEWSTRING/g' *.html
This will leave "*.bak" files around of the original version, in case the replacement string didn't quite do what you wanted.
borkware home |
Advanced Mac OS X Programming book