in reply to Substitution of text within a file
There's really no need for a program here. You can do it all from the command line.
--$ perl -i.bak -pe 's/(\d+)$/+615$1/ if /^0001/' your_filename
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Substitue!
by bart (Canon) on Jun 07, 2003 at 06:17 UTC | |
by Anonymous Monk on Jun 07, 2003 at 07:47 UTC |