in reply to multiline inplace edit
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: multiline inplace edit
by Aristotle (Chancellor) on Aug 07, 2003 at 09:09 UTC | |
|
Re: multiline inplace edit
by meonkeys (Chaplain) on Aug 07, 2003 at 01:16 UTC |