bug-bash
[Top][All Lists]
Advanced

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

[PATCH 09/18] doc/bash.1: stop attempting literal ASCII ' use


From: G. Branden Robinson
Subject: [PATCH 09/18] doc/bash.1: stop attempting literal ASCII ' use
Date: Wed, 31 Jan 2024 02:42:21 -0600

Almost all other "literal" uses of the apostrophe were already migrated
to `\(aq` instead.

groff_man_style(7):
     ... Some escape sequences are however required for correct
     typesetting even in man pages and usually do not cause portability
     problems.

     Several of these render glyphs corresponding to punctuation code
     points in the Unicode basic Latin range (U+0000–U+007F) that are
     handled specially in roff input; the escape sequences below must be
     used to render them correctly and portably when documenting
     material that uses them as literals—namely, any of the set ' - \ ^
     ` ~ (apostrophe, dash or hyphen‐minus, backslash, caret, grave
     accent, tilde).

     \(aq   Basic Latin neutral apostrophe.  Some output devices format
            “'” as a right single quotation mark.
---
 doc/bash.1 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/bash.1 b/doc/bash.1
index b666f63c..200cf00e 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -8054,7 +8054,8 @@ .SH "SHELL BUILTIN COMMANDS"
 initialization file such as
 .IR .inputrc ,
 but each binding or command must be passed as a separate argument;
-e.g., '\(dq\eC\-x\eC\-r\(dq: re\-read\-init\-file'.
+e.g.,
+\(aq\(dq\eC\-x\eC\-r\(dq: re\-read\-init\-file\(aq.
 In the following descriptions, output available to be re-read is formatted
 as commands that would appear in a
 .B readline
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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