in reply to multiline inplace edit
How is this any different from:
That's easier than remembering to install a program. {grin}perl -pi -e 'BEGIN { $/ = undef } s/foo/bar/g' file1.txt file2.txt ...
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In Section
Code Catacombs