summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-01-30 09:45:13 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2023-01-30 09:58:54 -0800
commit8c802c5078855798ece5d0859e2c779fa059954a (patch)
tree376d65ed17ec590496998e10c6beea7068dd16fb /doc
parentfa9e4e4fc0b2c5be1289dafd02995e5badbac1b2 (diff)
downloadsed-8c802c5078855798ece5d0859e2c779fa059954a.tar.gz
maint: quote 'like this' not `like this'
Diffstat (limited to 'doc')
-rw-r--r--doc/sed.texi6
-rw-r--r--doc/sed.x12
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/sed.texi b/doc/sed.texi
index 44da493..ac0ef12 100644
--- a/doc/sed.texi
+++ b/doc/sed.texi
@@ -3397,7 +3397,7 @@ a^c
@c also: this fails in different places:
@c $ sed 's/[//'
-@c sed: -e expression #1, char 5: unterminated `s' command
+@c sed: -e expression #1, char 5: unterminated 's' command
@c $ sed 's/\x5b//'
@c sed: -e expression #1, char 8: Invalid regular expression
@c
@@ -5845,8 +5845,8 @@ sequences. @sc{posix} mandates that such sequences
are @emph{not} matched by @samp{.}, so that @samp{s/.*//} will not clear
pattern space as you would expect. In fact, there is no way to clear
sed's buffers in the middle of the script in most multibyte locales
-(including UTF-8 locales). For this reason, @value{SSED} provides a `z'
-command (for `zap') as an extension.
+(including UTF-8 locales). For this reason, @value{SSED} provides a @code{z}
+command (for ``zap'') as an extension.
To work around these problems, which may cause bugs in shell scripts, set
the @env{LC_COLLATE} and @env{LC_CTYPE} environment variables to @samp{C}.
diff --git a/doc/sed.x b/doc/sed.x
index 5e060a2..c1b1fcf 100644
--- a/doc/sed.x
+++ b/doc/sed.x
@@ -31,7 +31,7 @@ a reminder to those who already know \*(sd;
other documentation (such as the texinfo document)
must be consulted for fuller descriptions.
.SS
-Zero-address ``commands''
+Zero-address "commands"
.TP
.RI :\ label
Label for
@@ -123,10 +123,10 @@ g G
Copy/append hold space to pattern space.
.TP
l
-List out the current line in a ``visually unambiguous'' form.
+List out the current line in a "visually unambiguous" form.
.TP
.RI l\ width
-List out the current line in a ``visually unambiguous'' form,
+List out the current line in a "visually unambiguous" form,
breaking it at
.I width
characters. This is a GNU extension.
@@ -243,7 +243,7 @@ Match every
.IR step 'th
line starting with line
.IR first .
-For example, ``sed \-n 1~2p'' will print all the odd-numbered lines in
+For example, "sed \-n 1~2p" will print all the odd-numbered lines in
the input stream, and the address 2~5 will match every fifth line,
starting with the second.
.I first
@@ -258,7 +258,7 @@ Match the last line.
Match lines matching the regular expression
.IR regexp .
Matching is performed on the current pattern space, which
-can be modified with commands such as ``s///''.
+can be modified with commands such as "s///".
.TP
.BI \fR\e\fPc regexp c
Match lines matching the regular expression
@@ -334,5 +334,5 @@ http://sed.sf.net/grabbag/.
.PP
E-mail bug reports to
.BR bug-sed@gnu.org .
-Also, please include the output of ``sed \-\-version'' in the body
+Also, please include the output of "sed \-\-version" in the body
of your report if at all possible.