GNU bug report logs - #34078
typo in gnu grep's manual ?

Previous Next

Package: grep;

Reported by: phs <at> lsv.fr

Date: Mon, 14 Jan 2019 18:26:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Eric Blake <eblake <at> redhat.com>
To: phs <at> lsv.fr, 34078 <at> debbugs.gnu.org
Subject: Re: bug#34078: typo in gnu grep's manual ?
Date: Mon, 14 Jan 2019 14:39:11 -0600
[Message part 1 (text/plain, inline)]
On 1/14/19 12:24 PM, phs wrote:
> I have gnu grep v3.3 as packaged by Homebrew
> 
> When I type man grep, the two sentences in the DESCRIPTION paragraph reads
> 
>        grep searches for PATTERNS in each FILE.  PATTERNS is one or
> patterns separated by newline characters, and grep prints each line that
> matches a pattern.
> 
> Obviously, the second sentence should read "PATTERNS is one or several
> patterns" but the word 'several' is missing.

Thanks for the report.  I'd prefer "more" over "several" in this context.

> 
> Looking at the source tree in
> http://git.savannah.gnu.org/cgit/grep.git/commit/ I do not see a file
> share/man/man1/grep.1 like I have on my laptop, so maybe the bug is with
> the brew packaging...

Not a packaging bug, but because the man page is generated from 'grep
--help' output combined with a template; running:

git grep 'is one or'

quickly locates the culprit file of doc/grep.in.1.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

[signature.asc (application/pgp-signature, attachment)]

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

Previous Next


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