[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63924] man wrapper for system package infinitely recurses
From: |
G. Branden Robinson |
Subject: |
[bug #63924] man wrapper for system package infinitely recurses |
Date: |
Tue, 14 Mar 2023 01:05:40 -0400 (EDT) |
Follow-up Comment #1, bug #63924 (project groff):
Reverting the change clears that right up...
$ gnroff -t -man /usr/share/man/man1/true.1 2>&1 >/dev/null | sort | uniq -c
1 gtroff:/usr/share/lib/tmac/an:505: error: cannot load font 'S' for
emboldening
1 gtroff:/usr/share/man/man1/true.1:20: warning: cannot select font 'CW'
1 /usr/share/man/man1/true.1:41: warning: table wider than line length
minus indentation
$ gnroff -t -man -Tascii /usr/share/man/man1/true.1 | sed 'N;/^\n$/!P;D'
gtroff:/usr/share/lib/tmac/an:505: error: cannot load font 'S' for
emboldening
gtroff:/usr/share/man/man1/true.1:20: warning: cannot select font 'CW'
/usr/share/man/man1/true.1:41: warning: table wider than line length minus
indentation
User Commands true(1)
NAME
true, false - provide truth values
SYNOPSIS
true
false
DESCRIPTION
The true utility does nothing, successfully. The false util-
ity does nothing, unsuccessfully. They are typically used in
a shell script sh as:
while true
do
command
done
which executes command forever.
EXIT STATUS
true has exit status 0.
false always will exit with a non-zero value.
ATTRIBUTES
See attributes(5) for descriptions of the following attrib-
utes:
+------------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+------------------------------+-----------------------------+
| Availability |SUNWcsu |
+------------------------------+-----------------------------+
| Interface Stability |Standard |
+------------------------------+-----------------------------+
SEE ALSO
sh(1), attributes(5), standards(5)
SunOS 5.10 Last change: 1 Feb 1995 1
And it works on mdoc(7) documents.
$ cat thing.mdoc
.Dd 2023-03-14
.Dt foo 1
.Os GNU
.Sh Name
.Nm foo
.Nd frobinicate a bar
.Sh Description
Twas brillig all the way down.
$ gnroff -man -Tascii ./thing.mdoc
gtroff:/usr/share/lib/tmac/an:505: error: cannot load font 'S' for
emboldening
foo(1) General Commands Manual
foo(1)
Name
foo -- frobinicate a bar
Description
Twas brillig all the way down.
GNU 2023-03-14
foo(1)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63924>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/