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

Alejandro Colomar alx.manpages at gmail.com
Wed Nov 23 13:48:29 UTC 2022


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                      │
 └──────────────────────────────────────────────────────────────────┘

Reviewed-by: "G. Branden Robinson" <g.branden.robinson at gmail.com>
Cc: Geoff Clare <gwc at opengroup.org>
Cc: <groff at gnu.org>
Signed-off-by: Alejandro Colomar <alx at kernel.org>
---

v2:
- Transform ' into \(aq [Branden].


Hi Branden,

I took the freedom to take your message as a reviewed-by.  Please confirm :)

Cheers,

Alex


 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 !$%&\(aq()*,/:;<=>?@[\e]\(ha\(ga{|}\(ti .
 .TP
 .B FROM
 Gives the first year in which the rule applies.
-- 
2.38.1



More information about the tz mailing list