Date: Sat, 10 Jan 2004 18:26:30 -0500 From: Marty Landman <MLandman@face2interface.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk>, FreeBSD Mailing List <freebsd-questions@freebsd.org>, Gary Kline <kline@thought.org> Subject: Re: perl script question. Message-ID: <6.0.0.22.0.20040110182450.0a09ce58@pop.face2interface.com> In-Reply-To: <20040110230218.GA5347@happy-idiot-talk.infracaninophile.co .uk> References: <20040110221036.GA44130@tao.thought.org> <20040110223308.GA4881@happy-idiot-talk.infracaninophile.co.uk> <20040110223907.GA16659@Uruk-Hai.Sanitarium.mine.nu> <20040110230218.GA5347@happy-idiot-talk.infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
At 06:02 PM 1/10/2004, Matthew Seaman wrote: >On Sat, Jan 10, 2004 at 11:39:07PM +0100, Bj=F6rn 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20040110182450.0a09ce58>