in reply to (Challenge)(for new users) Replacing a text
Well, I'm a newbie, so a rummage through perlrun (thanks for the hint) got me there. I'll hide this behind a readmore, just in case anyone else wants a go...
Update: not including the filename at the end, 37 chars
perl -pi -e 's/Will( Emigh)/JAPH\1/g' FileName
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (Challenge)(for new users) Replacing a text
by antirice (Priest) on Sep 24, 2004 at 18:00 UTC |