[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: undef $/.
From: |
Akim Demaille |
Subject: |
Re: FYI: undef $/. |
Date: |
05 Mar 2001 15:55:35 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Tom Tromey <address@hidden> writes:
> >>>>> "Akim" == Akim Demaille <address@hidden> writes:
>
> Akim> Question: why do we grep . after grep -v? It is not guaranteed that
> Akim> grep -v will exit positive when it output something?
>
> I don't know. cvs annotate claims you added those lines. In the past
> we used `wc -l'. If it works without the extra grep that's fine by
> me.
Yep, I removed the test "`.... | wc -l `" and went to `| grep' which,
IMHO, is more readable, and more Autoconf like. But I didn't really
think about the usefulness of the | grep after a grep -v.