in reply to search and replace
Something like this perhaps.
perl -pi.bak -e 's/^(mail)( xmlfeedback)(.*)/$1$3$2/' *.sh
Cheers,
JohnGG
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: search and replace
by Peamasii (Sexton) on Oct 04, 2012 at 10:38 UTC |
In Section
Seekers of Perl Wisdom