GNU bug report logs - #68989
grep -m[2+] > /dev/null

Previous Next

Package: grep;

Reported by: Grisha Levit <grishalevit <at> gmail.com>

Date: Thu, 8 Feb 2024 08:39:01 UTC

Severity: normal

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Grisha Levit <grishalevit <at> gmail.com>
Cc: 68989 <at> debbugs.gnu.org
Subject: Re: bug#68989: grep -m[2+] > /dev/null
Date: Mon, 13 May 2024 00:27:19 -0700
On 2024-05-12 22:26, Grisha Levit wrote:

> Just noticed that with this patch grep has extra output when -m is used
> with -[lLq]:
> 
>      $ echo x | grep -l -m1 .
>      x
>      (standard input)
> 
>      $ echo x | grep -q -m1 .
>      x

Thanks for letting us know; I've reopened the bug report.





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

Previous Next


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