groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/60: groff(7): Fix error in `pi` request description.


From: G. Branden Robinson
Subject: [groff] 02/60: groff(7): Fix error in `pi` request description.
Date: Wed, 11 Sep 2024 03:38:27 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 355da4dc420f2b45efc443fd266fa670259e6369
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]