GNU bug report logs - #74502
grep.in.1: Some remarks about this man page

Previous Next

Package: grep;

Reported by: Bjarni Ingi Gislason <bjarniig <at> simnet.is>

Date: Sun, 24 Nov 2024 01:15:01 UTC

Severity: minor

Tags: fixed

Found in version upstream

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74502: closed (grep.in.1: Some remarks about this man page)
Date: Fri, 21 Mar 2025 20:26:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 21 Mar 2025 13:25:34 -0700
with message-id <1eb35e11-2cf7-4373-b64a-6f2ef169e1ff <at> cs.ucla.edu>
and subject line Re: bug#74502: grep.in.1: Some remarks about this man page
has caused the debbugs.gnu.org bug report #74502,
regarding grep.in.1: Some remarks about this man page
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74502: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74502
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Bjarni Ingi Gislason <bjarniig <at> simnet.is>
To: bug-grep <at> gnu.org
Subject: grep.in.1: Some remarks about this man page
Date: Sun, 24 Nov 2024 01:06:23 +0000
[Message part 3 (text/plain, inline)]
Package: grep
Version: upstream
Severity: minor

  Following comes from the next version of "groff" (> 1.23.0).

   * What led up to the situation?

     Checking for defects with

test-[g|n]roff -mandoc -t -K utf8 -rF0 -rHY=0 -ww -b -z < "man page"

  [Use "groff -e ' $' <file>" to find trailing spaces.]

  ["test-groff" is a script in the repository for "groff"; is not shipped]
(local copy and "troff" slightly changed by me).

  [The fate of "test-nroff" was decided in groff bug #55941.]

   * What was the outcome of this action?


troff: backtrace: file '<stdin>':14
troff:<stdin>:14: error: character '|' is not allowed as a delimiter
troff: backtrace: file '<stdin>':15
troff:<stdin>:15: warning: missing closing delimiter in output comparison operator; expected a special character, got a newline
troff: backtrace: file '<stdin>':27
troff:<stdin>:27: error: character '|' is not allowed as a delimiter
troff: backtrace: file '<stdin>':27
troff:<stdin>:27: warning: expected numeric expression, got a space


   * What outcome did you expect instead?

     No output (no warnings).

-.-

  General remarks and further material, if a diff-file exist, are in the
attachments.

[chk_man.err.grep.in.1 (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bjarni Ingi Gislason <bjarniig <at> simnet.is>
Cc: 74502-done <at> debbugs.gnu.org
Subject: Re: bug#74502: grep.in.1: Some remarks about this man page
Date: Fri, 21 Mar 2025 13:25:34 -0700
[Message part 6 (text/plain, inline)]
On 11/23/24 18:17, Paul Eggert wrote:
> that's a recently-introduced groff bug. I reported it here:
> 
> https://savannah.gnu.org/bugs/index.php?66481

From the followup to that groff bug report, it appears that the groff 
maintainers don't consider this to be a bug, though they do say it is a 
compatibility issue. To work around this for grep, I installed the first 
attached patch. I noticed some other glitches too (some with traditional 
troff) and installed the second attached patch while I was in the 
neighborhood.

Closing the bug report. Thanks again for reporting the issue.
[0001-doc-use-w-.-not-w.patch (text/x-patch, attachment)]
[0002-doc-update-man-for-groff-1.23.0-and-apostrophes.patch (text/x-patch, attachment)]

This bug report was last modified 60 days ago.

Previous Next


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