GNU bug report logs - #37716
grep exit status with -L redirected to /dev/null

Previous Next

Package: grep;

Reported by: Adam Sampson <ats <at> offog.org>

Date: Sat, 12 Oct 2019 14:23:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Paul Jackson" <pj <at> usa.net>
To: 37716 <at> debbugs.gnu.org
Subject: bug#37716: grep exit status with -L redirected to /dev/null
Date: Sat, 12 Oct 2019 18:03:40 -0500
Also it seems that if the output of "grep -L" is redirected
to "/dev/tty", then the exit status of grep is reversed if
also using the "-q" option.

If the output of "grep -L"  is redirected to "/dev/null", then
its exit status polarity is not reversed by the "-q" option.

-- 
                Paul Jackson
                pj <at> usa.net




This bug report was last modified 5 years and 278 days ago.

Previous Next


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