Re: [GUILT PATCH 1/4] get_series: Remove comments from end of series lines
- From
- Eric Lesh <eclesh@ucla.edu>
- Date
- Jul 30, 2007, 07:07 UTC
- Message-ID
- <877ioicqu7.fsf@hubert.paunchy.net>
- In-Reply-To
- <20070730052633.GI22017@filer.fsl.cs.sunysb.edu>
Josef Sipek <jsipek@fsl.cs.sunysb.edu> writes:
Show 11 quoted lines
>
> 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