GNU bug report logs - #38792
man grep

Previous Next

Package: grep;

Reported by: Martin Simons <martin <at> webhuis.nl>

Date: Sun, 29 Dec 2019 15:19: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 Eggert <eggert <at> cs.ucla.edu>
To: Stephane Chazelas <stephane.chazelas <at> gmail.com>
Cc: 38792 <at> debbugs.gnu.org
Subject: bug#38792: man grep
Date: Sun, 29 Dec 2019 18:59:22 -0800
[Message part 1 (text/plain, inline)]
On 12/29/19 11:10 AM, Stephane Chazelas wrote:

> Note that that wording makes it unclear what the exit status
> should be if -o is in use.

It seems reasonably clear that a line would be selected if any part of it is
selected. Anyway, that text is exactly the same as before, so rewordsmithing it
could be a different thread.

> It should be
> 
> grep -n -- 'f.*\.c$' *g*.h /dev/null

Thanks, done in the attached patch.

> (why not using -H instead of /dev/null btw?).

I wanted the example to be portable.
[0001-doc-Add-to-more-complex-example.patch (text/x-patch, attachment)]

This bug report was last modified 4 years and 238 days ago.

Previous Next


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