public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: tz@iana.org, Paul Eggert <eggert@cs.ucla.edu>
Cc: linux-man@vger.kernel.org, Alejandro Colomar <alx@kernel.org>,
	"G. Branden Robinson" <g.branden.robinson@gmail.com>,
	Geoff Clare <gwc@opengroup.org>,
	groff@gnu.org
Subject: [PATCH v2 3/4] zic.8: Use correct escape sequences instead of special characters
Date: Wed, 23 Nov 2022 14:48:29 +0100	[thread overview]
Message-ID: <20221123134827.10420-3-alx@kernel.org> (raw)
In-Reply-To: <20221123134827.10420-1-alx@kernel.org>

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@gmail.com>
Cc: Geoff Clare <gwc@opengroup.org>
Cc: <groff@gnu.org>
Signed-off-by: Alejandro Colomar <alx@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


  parent reply	other threads:[~2022-11-23 13:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23 13:48 [PATCH v2 1/4] zic.8: Add public domain notice Alejandro Colomar
2022-11-23 13:48 ` [PATCH v2 2/4] zic.8: s/time zone/timezone/ for consistency Alejandro Colomar
2022-11-23 18:42   ` Paul Eggert
2022-11-23 19:02     ` Alejandro Colomar
2022-11-23 19:14   ` G. Branden Robinson
2022-11-23 13:48 ` Alejandro Colomar [this message]
2022-11-23 18:18   ` [PATCH v2 3/4] zic.8: Use correct escape sequences instead of special characters G. Branden Robinson
2022-11-23 18:43   ` Paul Eggert
2022-11-26  2:31     ` Paul Eggert
2022-11-26  3:07       ` G. Branden Robinson
2022-11-26 21:19       ` G. Branden Robinson
2022-11-27  0:12         ` Paul Eggert
2022-12-13 23:24           ` G. Branden Robinson
2022-11-23 13:48 ` [PATCH v2 4/4] zic.8: Use correct letter case in page title (TH) Alejandro Colomar
2022-11-23 18:45   ` Paul Eggert
2022-11-23 18:32 ` [PATCH v2 1/4] zic.8: Add public domain notice Paul Eggert
2022-11-23 19:01   ` Alejandro Colomar
2022-11-23 19:19     ` Paul Eggert
2022-11-23 19:32       ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221123134827.10420-3-alx@kernel.org \
    --to=alx.manpages@gmail.com \
    --cc=alx@kernel.org \
    --cc=eggert@cs.ucla.edu \
    --cc=g.branden.robinson@gmail.com \
    --cc=groff@gnu.org \
    --cc=gwc@opengroup.org \
    --cc=linux-man@vger.kernel.org \
    --cc=tz@iana.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox