gbranden pushed a commit to branch master
in repository groff.
commit 678c617a963fc811c95ba134ad2739fcb026c197
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jan 3 21:01:31 2026 -0600
[doc,man]: Migrate .while to "input" term.
Also break input lines consistently between Texinfo and man pages.
Continues the long process of fixing Savannah #65976.
---
doc/groff.texi.in | 19 ++++++++++++++-----
man/groff.7.man | 4 ++--
man/groff_diff.7.man | 6 +++---
3 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 9d8123504..4f7e4fcff 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -15368,11 +15368,20 @@ Its syntax matches the
request.
@cindex body, of a while request
-@Defreq {while, cond-expr anything}
-Evaluate the conditional expression @var{cond-expr}, and repeatedly
-execute @var{anything} unless and until @var{cond-expr} evaluates false.
-@var{anything}, which is often a conditional block, is referred to as
-the @code{while} request's @dfn{body}.
+@Defreq {while, cond-expr input}
+Evaluate the conditional expression
+@var{cond-expr},
+and repeatedly execute
+@var{input}
+unless and until
+@var{cond-expr}
+evaluates false.
+@var{input},
+which is often a conditional block,
+is referred to as the
+@code{while}
+request's
+@dfn{body}.
@Example
.nr a 0 1
diff --git a/man/groff.7.man b/man/groff.7.man
index 708012a16..f2f1749f1 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5474,9 +5474,9 @@ Interpolate newlines unless and until
evaluates false.
.
.TPx
-.REQ .while "cond-expr anything"
+.REQ .while "cond-expr input"
Repeatedly execute
-.I anything
+.I input
unless and until
.I cond-expr
evaluates false.
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 82fea8c0c..a4d4f0dcf 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -4598,16 +4598,16 @@ and the horizontal page location in ens.
.
.
.TP
-.BI .while \~cond-expr\~anything
+.BI .while \~cond-expr\~input
Evaluate the conditional expression
.IR cond-expr ,
and repeatedly execute
-.I anything
+.I input
unless and until
.I cond-expr
evaluates false.
.
-.I anything,
+.I input,
which is often a conditional block,
is referred to as the
.RB \[lq] while \[rq]
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit