« Earlier 1 items total Later »

On this page: 

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)

« Earlier 1 items total Later »