Perl find and replace
perl -i.bak -pe "s/Old text/New text/g" file1 file2 file3
-i: the extension to append to the backup of the original file (omit the .bak for no backup)
TextSnippets > jblomberg > perl
1159 users tagging and storing useful source code snippets
Jesse Blomberg http://imitationmonkey.com/
perl -i.bak -pe "s/Old text/New text/g" file1 file2 file3