groff
[Top][All Lists]
Advanced

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

[PATCH 3/4] zic.8: Use correct escape sequences instead of special chara


From: Alejandro Colomar
Subject: [PATCH 3/4] zic.8: Use correct escape sequences instead of special characters
Date: Tue, 22 Nov 2022 23:31:45 +0100

See the following table from groff_char(7):

 ┌──────────────────────────────────────────────────────────────────┐
 │Keycap   Appearance and meaning   Special character and meaning   │
 ├──────────────────────────────────────────────────────────────────┤
 │"        " neutral double quote   \[dq] neutral double quote      │
 │'        ’ closing single quote   \[aq] neutral apostrophe        │
 │-        ‐ hyphen                 \- or \[-] minus sign/Unix dash │
 │\        (escape character)       \e or \[rs] reverse solidus     │
 │^        ˆ modifier circumflex    \(ha circumflex/caret/“hat”     │
 │`        ‘ opening single quote   \(ga grave accent               │
 │~        ˜ modifier tilde         \(ti tilde                      │
 └──────────────────────────────────────────────────────────────────┘

Cc: Geoff Clare <gwc@opengroup.org>
Cc: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: <groff@gnu.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 zic.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zic.8 b/zic.8
index 7fb51dde..4ef2482c 100644
--- a/zic.8
+++ b/zic.8
@@ -351,7 +351,7 @@ .SH FILES
 .q + .
 To allow for future extensions,
 an unquoted name should not contain characters from the set
-.q !$%&'()*,/:;<=>?@[\e]^`{|}~ .
+.q !$%&'()*,/:;<=>?@[\e]\(ha\(ga{|}\(ti .
 .TP
 .B FROM
 Gives the first year in which the rule applies.
-- 
2.38.1




reply via email to

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