in reply to Re: in place editing a list of files
in thread in place editing a list of files
davidrw hats of to u sir
shell-independent method: perl -i.bak -0777 -pe 's/CONFIDENTIAL(.*?)own\s+risk/ /s' `cat /home/rjs/heena/edit`you single line of code has done all the magic . just one more update i require from u , will this piece of code work fine when incorporated with another perl script
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: in place editing a list of files
by davidrw (Prior) on Jan 08, 2007 at 20:26 UTC |
In Section
Seekers of Perl Wisdom