summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-02 02:49:36 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2022-12-07 02:51:57 -0600
commit1e39a21c46aff535777411d44998cf4c98794952 (patch)
tree037c7eddc6ab222acda25c8f5716bc63958e8a90 /man
parenta342118a458b872f38e4d78fc8e6a533298e6bf4 (diff)
downloadgroff-git-1e39a21c46aff535777411d44998cf4c98794952.tar.gz
[docs]: Sync "Registers" and "Strings" sections.
...between our Texinfo manual and groff(7).
Diffstat (limited to 'man')
-rw-r--r--man/groff.7.man30
1 files changed, 19 insertions, 11 deletions
diff --git a/man/groff.7.man b/man/groff.7.man
index 83d851496..5aebe5ff5 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -5149,20 +5149,27 @@ the effect of a newline.
.SH Registers
.\" ====================================================================
.
-Most registers store numeric values
-(see section \[lq]Numeric expressions\[rq] above),
-but some interpolate text;
-see subsection \[lq]Read-only registers\[rq] below.
+.\" BEGIN Keep (roughly) parallel with groff.texi node "Registers".
+In the
+.I roff
+language,
+numbers can be stored in
+.I registers.
.
-Each register has a name.
+Many built-in registers exist,
+supplying anything from the date to details of formatting parameters.
.
-A register is defined and assigned with the
-.request .nr
+You can also define your own.
+.
+See section \[lq]Identifiers\[rq] above for information on constructing
+a valid name for a register.
+.
+.
+.P
+Define registers and update their values with the
+.B nr
request or the
-.esc R
-escape sequence;
-its value is interpolated with the
-.esc n
+.B \[rs]R
escape sequence.
.
.
@@ -5207,6 +5214,7 @@ Bear in mind that the symbols
are
.I not
part of the register name.
+.\" END Keep (roughly) parallel with groff.texi node "Registers".
.
.
.\" ====================================================================