GNU bug report logs - #52958
[PATCH] doc: fix man page syntax errors

Previous Next

Package: grep;

Reported by: Ondřej Fiala <temp.xanomes <at> volny.cz>

Date: Sun, 2 Jan 2022 17:01:02 UTC

Severity: normal

Tags: patch

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 52958 in the body.
You can then email your comments to 52958 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#52958; Package grep. (Sun, 02 Jan 2022 17:01:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ondřej Fiala <temp.xanomes <at> volny.cz>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Sun, 02 Jan 2022 17:01:03 GMT) Full text and rfc822 format available.

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

From: Ondřej Fiala <temp.xanomes <at> volny.cz>
To: bug-grep <at> gnu.org
Cc: Ondřej Fiala <temp.xanomes <at> volny.cz>
Subject: [PATCH] doc: fix man page syntax errors
Date: Sun,  2 Jan 2022 07:58:49 +0100
* doc/grep.in.1: Fix syntax errors.
Introduced by commit v3.6-5-g91ce9cd.
---
Commit 91ce9cdad introduced invalid roff into the manpage.
This should have been caught during code review as far as I can tell.

 doc/grep.in.1 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/doc/grep.in.1 b/doc/grep.in.1
index ed53a8f..372b892 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -214,7 +214,9 @@ as basic regular expressions (BREs, see below).
 This is the default.
 .TP
 .BR \-P ", " \-\^\-perl\-regexp
-Interpret I<PATTERNS> as Perl-compatible regular expressions (PCREs).
+Interpret
+.I PATTERNS
+as Perl-compatible regular expressions (PCREs).
 This option is experimental when combined with the
 .B \-z
 .RB ( \-\^\-null\-data )
@@ -690,7 +692,9 @@ options match, a file is included unless the first such option is
 .BR \-r ", " \-\^\-recursive
 Read all files under each directory, recursively,
 following symbolic links only if they are on the command line.
-Note that if no file operand is given, B<grep> searches the working directory.
+Note that if no file operand is given,
+.B grep
+searches the working directory.
 This is equivalent to the
 .B "\-d recurse"
 option.
@@ -756,8 +760,11 @@ In other implementations, basic regular expressions are less powerful.
 The following description applies to extended regular expressions;
 differences for basic regular expressions are summarized afterwards.
 Perl-compatible regular expressions give additional functionality, and are
-documented in B<pcre2syntax>(3) and B<pcre2pattern>(3), but work only if
-PCRE support is enabled.
+documented in
+.BR pcre2syntax (3)
+and
+.BR pcre2pattern (3),
+but work only if PCRE support is enabled.
 .PP
 The fundamental building blocks are the regular expressions
 that match a single character.
-- 
2.34.1





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sun, 02 Jan 2022 19:18:01 GMT) Full text and rfc822 format available.

Notification sent to Ondřej Fiala <temp.xanomes <at> volny.cz>:
bug acknowledged by developer. (Sun, 02 Jan 2022 19:18:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Ondřej Fiala <temp.xanomes <at> volny.cz>
Cc: 52958-done <at> debbugs.gnu.org
Subject: Re: bug#52958: [PATCH] doc: fix man page syntax errors
Date: Sun, 2 Jan 2022 11:17:47 -0800
Thanks, I installed that and am closing the bug report.




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

This bug report was last modified 2 years and 57 days ago.

Previous Next


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