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 reply to •Re: multiline inplace edit
by merlyn
in thread multiline inplace edit
by meonkeys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |