groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 07/46: [docs]: Fix nits in "Strings" rewrite.


From: G. Branden Robinson
Subject: [groff] 07/46: [docs]: Fix nits in "Strings" rewrite.
Date: Wed, 7 Dec 2022 04:32:30 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit a342118a458b872f38e4d78fc8e6a533298e6bf4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Dec 2 02:37:53 2022 -0600

    [docs]: Fix nits in "Strings" rewrite.
    
    * Fix incorrect glyph.
    * Fix ambiguous pronoun antecedent.
    * Drop unnecessary parentheses.
    * Really ditch term "string variable".
---
 doc/groff.texi  |  2 +-
 man/groff.7.man | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index d887b8e04..cad2afd71 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -12162,7 +12162,7 @@ The @code{as} request is similar to @code{ds} but 
appends @var{contents}
 to the string stored as @var{name} instead of redefining it.  If
 @var{name} doesn't exist yet, it is created.  If @code{as} is called
 with only one argument, no operation is performed (beyond dereferencing
-it).
+the string).
 
 @Example
 .as salutation " with shallots, onions and garlic,\"
diff --git a/man/groff.7.man b/man/groff.7.man
index 2bbee2205..83d851496 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -2769,7 +2769,7 @@ is interpreted.
 .
 .TPx
 .REQ .ds "name \fR[\fPcontents\fR]\fP"
-Define a string variable
+Define a string
 .I name
 with contents
 .IR string ,
@@ -4964,7 +4964,7 @@ then restore it.
 .
 .\" BEGIN Keep (roughly) parallel with groff.texi node "Strings".
 .I groff
-has string variables primarily for user convenience.
+supports strings primarily for user convenience.
 .
 Conventionally,
 if a macro definition needs only to interpolate text,
@@ -5012,7 +5012,7 @@ see section \[lq]Calling Macros\[rq] above.
 In contrast to macro calls,
 however,
 if a closing bracket
-.B }
+.B ]
 occurs in a string argument,
 that argument must be enclosed in double quotes.
 .
@@ -5023,7 +5023,7 @@ is interpreted even in copy mode
 When defining strings,
 argument interpolations must be escaped if they are to reference
 parameters from the calling context;
-(see section \[lq]Parameters\[rq] below).
+see section \[lq]Parameters\[rq] below.
 .
 .
 .P
@@ -5074,7 +5074,7 @@ If
 .request .as
 is called with only one argument,
 no operation is performed
-(beyond dereferencing it).
+(beyond dereferencing the string).
 .
 .
 .P



reply via email to

[Prev in Thread] Current Thread [Next in Thread]