From 76d816e05295e64bdf500ac4cadaccfe69f655cb Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Thu, 4 May 2023 12:56:32 -0500 Subject: groff(1), troff(1): Document operand handling. --- src/roff/groff/groff.1.man | 9 +++++++++ src/roff/troff/troff.1.man | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man index 0873e175a..0314197ad 100644 --- a/src/roff/groff/groff.1.man +++ b/src/roff/groff/groff.1.man @@ -142,6 +142,15 @@ or user-defined macros. . All three approaches can be combined. . +If no +.I file +operands are given on the command line, +or if +.I file +is +.RB \[lq] \- \[rq], +the standard input stream is read. +. . .P A reimplementation and extension of the typesetter from AT&T Unix, diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man index 2ab12b969..36e6d53f5 100644 --- a/src/roff/troff/troff.1.man +++ b/src/roff/troff/troff.1.man @@ -112,7 +112,20 @@ is thus the heart of the GNU .I roff document formatting system. . -It is functionally compatible with the AT&T +If no +.I file +operands are given on the command line, +or if +.I file +is +.RB \[lq] \- \[rq], +the standard input stream is read. +. +. +.P +GNU +.I troff \" GNU +is functionally compatible with the AT&T .I troff \" AT&T typesetter and features numerous extensions. . -- cgit v1.2.1