This should do your work, as long as your strings dont have any special
chars.
perl -pli.BAK -e 's/OLDSTRING/NEWSTRING/g' FILENAME
(You can also use it for multiple files and will create a .BAK file
incase you want to revert )
HTH
Ram
On Mon, 2004-07-26 at 17:21, Jerry M. Howell II wrote:
> he
Jerry M. Howell II wrote:
> hello all,
>
>I'm just beginning to work with sed in shell scripts I was
> wondering if anyone has a simmilar script in perl they can send my
> way or what the perl equivelent of the sed /s would be. Here is the
> coresponding shell script if it'll help you understa