Saved has asked for the wisdom of the Perl Monks concerning the following question:
changes first on the line, but not subsequent All help much appreciated, thanxperl -lne 's/<.*>/<new text>/g && print'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Find/Chng every <any>
by stevieb (Canon) on Sep 03, 2010 at 19:46 UTC | |
by Saved (Beadle) on Sep 03, 2010 at 19:54 UTC | |
|
Re: Find/Chng every <any>
by moritz (Cardinal) on Sep 03, 2010 at 19:40 UTC | |
by nvivek (Vicar) on Sep 04, 2010 at 03:56 UTC | |
by Anonymous Monk on Sep 05, 2010 at 03:18 UTC | |
|
Re: Find/Chng every <any>
by ambrus (Abbot) on Sep 05, 2010 at 07:41 UTC |