http://www.perlmonks.org?node_id=100566


in reply to Can you teach a new dog an old trick?

perl -i.bak -pe 's/string1/string2/g' *.htm
This changes all occurrences of the literal string, 'string1' with 'string2' in all .htm files and makes backups at the same time.

jeffa