gbranden pushed a commit to branch master
in repository groff.

commit 97d5e85a026b3c6962da0d650c69f8fb14ab100c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Sep 28 15:20:02 2026 -0500

    doc/groff.texi.in: Improve \n[.{x,y,Y}] example.
    
    A silver lining of the recent security release is that it gave us
    our first versioning triple since 1.22.4 (December 2018) with values all
    distinct and nonzero.  "Nonzero" is a valuable trait, because a
    *roff formatter that doesn't implement the `.Y` register creates it upon
    interpolation--with a zero value.
---
 doc/groff.texi.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/groff.texi.in b/doc/groff.texi.in
index 2930a1066..aaf0e137b 100644
--- a/doc/groff.texi.in
+++ b/doc/groff.texi.in
@@ -10126,7 +10126,7 @@ Unsafe mode enablement status (Boolean-valued); see 
@command{groff}'s
 @cindex major version number register (@code{.x})
 @cindex version number, major, register (@code{.x})
 Major version number of the running GNU @code{troff} formatter.  For
-example, if the version number is 1.23.0, then @code{.x}
+example, if the version number is 1.24.2, then @code{.x}
 contains@tie{}@samp{1}.
 
 @item \n[.y]
@@ -10134,14 +10134,14 @@ contains@tie{}@samp{1}.
 @cindex minor version number register (@code{.y})
 @cindex version number, minor, register (@code{.y})
 Minor version number of the running GNU @code{troff} formatter.  For
-example, if the version number is 1.23.0, then @code{.y}
-contains@tie{}@samp{23}.
+example, if the version number is 1.24.2, then @code{.y}
+contains@tie{}@samp{24}.
 
 @item \n[.Y]
 @vindex .Y
 @cindex revision number register (@code{.Y})
 Revision number of the running GNU @code{troff} formatter.  For example,
-if the version number is 1.23.0, then @code{.Y} contains@tie{}@samp{0}.
+if the version number is 1.24.2, then @code{.Y} contains@tie{}@samp{2}.
 @end table
 
 @c =====================================================================

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to