perl -i.bak -pe 's/foo/bar/' somedir/*.ext [download]
In reply to Re: Perl Matching with text file by davidrw in thread Perl Matching with text file by sknoch