(C) 2003, Tim Maher 1-24 www.TeachMePerl.com Perl as (a better) Sed Command How does it Work? perl -wlp -e 's/old/new/g;' file ... -wlp: warnings, auto- carriage returns, auto- input processing and printing -p: read input, print lines after processing -e: execute program in following argument file: file(s) to be processed