gbranden pushed a commit to branch master
in repository groff.
commit cc6cc58c10f1d83ee2b1eb451c4f4176cf551cec
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Sep 3 04:37:40 2024 -0500
[doc,man]: Clarify and sync `.length` meaning.
---
doc/groff.texi.in | 2 +-
man/groff.7.man | 2 +-
man/groff_diff.7.man | 7 +++++--
3 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index c057d031e..193d5271e 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -12715,7 +12715,7 @@ can be manipulated through renaming, removal, and
aliasing (@code{rn},
@cindex mode, copy, and @code{length} request
Compute the number of characters of @var{anything} and store the count
in the register @var{reg}. If @var{reg} doesn't exist, it is created.
-@var{anything} is read in copy mode.
+GNU @command{troff} reads @var{anything} in copy mode.
@Example
.ds xxx abcd\h'3i'efgh
diff --git a/man/groff.7.man b/man/groff.7.man
index d38c40441..56765cff6 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -3600,7 +3600,7 @@ Set leader repetition character
.
.TPx
.REQ .length "reg anything"
-Compute the number of characters of
+Compute the number of characters in
.I anything
and store the count
in the register
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index 3ee014e83..2c5a60b1d 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3058,7 +3058,7 @@ is omitted.
.BI .length\~ "reg anything"
Compute the number of characters in
.I anything
-and return the count in the register
+and store the count in the register
.IR reg .
.
If
@@ -3066,8 +3066,11 @@ If
doesn't exist,
it is created.
.
+GNU
+.I troff \" GNU
+reads
.I anything
-is read in copy mode.
+in copy mode.
.
.
.TP
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit