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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34078 in the body.
You can then email your comments to 34078 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#34078; Package grep. (Mon, 14 Jan 2019 18:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phs <at> lsv.fr:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Mon, 14 Jan 2019 18:26:02 GMT) Full text and rfc822 format available.

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

From: phs <phs <at> lsv.fr>
To: bug-grep <at> gnu.org
Subject: typo in gnu grep's manual ?
Date: Mon, 14 Jan 2019 19:24:37 +0100
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.

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...

Let me profit and thank you for the great free software.

Best,

--Philippe




Information forwarded to bug-grep <at> gnu.org:
bug#34078; Package grep. (Mon, 14 Jan 2019 20:40:02 GMT) Full text and rfc822 format available.

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)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Thu, 02 Jan 2020 09:14:02 GMT) Full text and rfc822 format available.

Notification sent to phs <at> lsv.fr:
bug acknowledged by developer. (Thu, 02 Jan 2020 09:14:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: phs <at> lsv.fr
Cc: 34078-done <at> debbugs.gnu.org
Subject: Re: typo in gnu grep's manual ?
Date: Thu, 2 Jan 2020 01:13:37 -0800
[Message part 1 (text/plain, inline)]
Thanks for reporting that typo in the grep manual. I installed the attached
patch to fix it.
[0001-doc-fix-missing-more-in-man-page.txt (text/plain, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 30 Jan 2020 12:24:09 GMT) Full text and rfc822 format available.

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

Previous Next


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