[thelist] find and replace text in multiple files under Linux

Feingold Josh S Josh.S.Feingold at irs.gov
Fri May 24 12:48:09 CDT 2002


--
[ Picked text/plain from multipart/alternative ]

> With Perl you can do:
>
>    perl -pi~ -e 's/foo/bar/' [files]
>
> from the command-line.

To do this download activeperl.

http://www.activestate.com/Products/Download/Get.plex?id=ActivePerl

Josh



More information about the thelist mailing list