bug-bash
[Top][All Lists]
Advanced

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

[PATCH 07/18] doc/bash.1: stop attempting literal ASCII ^ use


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

Almost all other "literal" uses of the caret were already migrated to
`\(ha` 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).

     \(ha   Basic Latin circumflex accent (“hat”).  Some output devices
            format “^” as U+02C6 (modifier letter circumflex accent).
---
 doc/bash.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/bash.1 b/doc/bash.1
index f18816fc..f21aeb52 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -6839,7 +6839,7 @@ .SS Commands for Manipulating the History
 .B HISTORY EXPANSION
 below for a description of history expansion.
 .TP
-.B history\-expand\-line (M\-^)
+.B history\-expand\-line (M\-\(ha)
 Perform history expansion on the current line.
 See
 .SM
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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