summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-05-04 12:56:32 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-05-04 13:12:03 -0500
commit76d816e05295e64bdf500ac4cadaccfe69f655cb (patch)
tree1f6fcfc07e8acd069a68e4e4e2d9542878ac277d
parentbd4961ea62826a5ff34874d64fd1287d71b46074 (diff)
downloadgroff-git-76d816e05295e64bdf500ac4cadaccfe69f655cb.tar.gz
groff(1), troff(1): Document operand handling.
-rw-r--r--src/roff/groff/groff.1.man9
-rw-r--r--src/roff/troff/troff.1.man15
2 files changed, 23 insertions, 1 deletions
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.
.