(C) 2003, Tim Maher 1-26 www.TeachMePerl.com Perl as a Better Sed Command How it Works perl -wlp -i.bak -e 's/old/new/g;' F -wlp: warnings, auto- carriage returns, auto- input processing and printing -i.bak: in-place editing; original saved as file.bak -e: execute program in following argument F: file(s) to be processed s/old/new/g: change occurrences of old to new