gbranden pushed a commit to branch master
in repository groff.
commit 355da4dc420f2b45efc443fd266fa670259e6369
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Sep 9 16:10:21 2024 -0500
groff(7): Fix error in `pi` request description.
It works fine in troff mode.
$ printf ".pi tr '[a-z]' '[A-Z]'\nfoobar\n" | groff -UZ
X T PS
X RES 72000 1 1
X INIT
P1
X FONT 5 TR
F5
S10000
V12000
H72000
MD
DFD
TFOOBAR
N12000 0
X TRAILER
V792000
X STOP
Also recharacterize argument as "command", not "program", since as shown
above, arguments are accepted.
---
man/groff.7.man | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/man/groff.7.man b/man/groff.7.man
index fe88646cb..b4276fe42 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -3992,11 +3992,9 @@ are suffixed with a tab and asterisk
.RB ( * ).
.
.TPx
-.REQ .pi program
+.REQ .pi command
Pipe output to
-.I program
-.RI ( nroff
-only).
+.IR command .
.
Unsafe request;
disabled by default.
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit