perl script question.
Marty Landman
MLandman at face2interface.com
Sat Jan 10 15:26:38 PST 2004
At 06:02 PM 1/10/2004, Matthew Seaman wrote:
>On Sat, Jan 10, 2004 at 11:39:07PM +0100, Björn Andersson wrote:
>
> > If this occures more than once on a line we should have the line as this:
> > perl -pi.bak -e 's/\s+\w+_\w+\.?//g;' filename
>
>Good point. Also, if the stuff_separated_by_underscores wraps around
>onto more than one line, then there may not be any leading whitespace:
I don't see why the translate sol'tn that Gary Kline gave first isn't adequate.
Marty Landman Face 2 Interface Inc 845-679-9387
Sign On Required: Web membership software for your site
Make a Website: http://face2interface.com/Home/Demo.shtml
More information about the freebsd-questions
mailing list