gbranden pushed a commit to branch master
in repository groff.
commit 8b60b6e8d0339709594164fe5fb2a87c6702c755
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 23 13:05:56 2025 -0600
groff_mm(7): Clarify behavior of `RD` macro.
---
contrib/mm/groff_mm.7.man | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index f3f3ee386..f21a5e4c3 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -3297,11 +3297,17 @@ without space between the arguments.
.
.TP
.BR RD \~\c
-.RI [ prompt\~ [ div\~ [ string ]]]
-Read from standard input stream into a diversion and/or string.
-.
-The text is saved in a diversion named
-.IR div .
+.RI [ prompt\~ [ div\~ [ str ]]]
+Write
+.I prompt
+(if specified,
+a tab and colon \[lq]:\[rq]
+to the standard error stream
+and read response from standard input stream,
+optionally into a diversion
+.I div
+and/or string
+.I str.
.
Interpolate the saved text by calling its name like a macro.
.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit