GNU bug report logs - #70540
grep -c -r | grep -v ':0$'

Previous Next

Package: grep;

Reported by: "Dale R. Worley" <worley <at> alum.mit.edu>

Date: Tue, 23 Apr 2024 18:34:13 UTC

Severity: normal

Full log


Message #11 received at 70540 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Dale R. Worley" <worley <at> alum.mit.edu>
Cc: 70540 <at> debbugs.gnu.org
Subject: Re: bug#70540: grep -c -r | grep -v ':0$'
Date: Wed, 24 Apr 2024 13:27:05 -0700
On 4/23/24 11:32 AM, Dale R. Worley wrote:
> However, it seems "natural" to me that "grep -c -l", that is, "grep
> --count --files-with-matches", should give me this result.

Yes, that sounds reasonable. Is your patch a trivial one (10 lines or 
less)? If so, please send it in. If not, please send in copyright 
paperwork for grep (I can send you the form for that). Thanks.




This bug report was last modified 1 year and 47 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.