Thom LaCosta wrote:
On 14 May 2003, Pitr wrote:Something like this: perl -i -pe 's/this/that/g' *
[snip]
What do I need to make .bak backup files?
According to "perl -h":
-i[extension] edit <> files in place (make backup if extension supplied)
So: perl -i.bak -pe 's/this/that/g' * Regards, Richard.