GNU bug report logs - #23837
grep 2.7 EXIT STATUS inconsistency

Previous Next

Package: grep;

Reported by: "O'Brien, Michael" <michael.o-brien <at> hpe.com>

Date: Fri, 24 Jun 2016 07:10:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 23837-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "O'Brien, Michael" <michael.o-brien <at> hpe.com>, 23837-done <at> debbugs.gnu.org
Cc: "Desostoa, Chuck \(ES\)" <chuck.desostoa <at> hpe.com>, "Lenahan,
 Mike" <mike.lenahan <at> hpe.com>
Subject: Re: bug#23837: grep 2.7 EXIT STATUS inconsistency
Date: Fri, 24 Jun 2016 10:36:46 +0200
On 06/24/2016 04:27 AM, O'Brien, Michael wrote:
> Notice, the input file is fed to grep, and there's no output -- in other words, all records were (or "selected to be") excluded.

No, -v inverts the sense of matching, so that non-matching lines are 
selected. So there is no bug here.




This bug report was last modified 9 years and 29 days ago.

Previous Next


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