From: Eric Lesh Date: Mon, 30 Jul 2007 07:07:12 GMT Subject: Re: [GUILT PATCH 1/4] get_series: Remove comments from end of series lines Message-ID: <877ioicqu7.fsf@hubert.paunchy.net> In-Reply-To: <20070730052633.GI22017@filer.fsl.cs.sunysb.edu> Josef Sipek writes: > > I think the script I wrote is a bit cleaner as it more easily translates to: > > if (!ignore_line) { > strip comment > print > } > > to make it work, you'd need to run sed with -n to not implicitly print the > line. > Told you my sed-foo sucks ;-) You're right again, of course. Eric