perl -pe 'BEGIN { mkdir $^T; $^I = "$^T/*" } s/foo/bar/g' file1 file2 +file3 ...
|
---|
Replies are listed 'Best First'. | |
---|---|
•Re: Put your inplace-edit backup files into a subdir
by merlyn (Sage) on Apr 21, 2003 at 06:08 UTC | |
by Aristotle (Chancellor) on Apr 21, 2003 at 12:05 UTC |