public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* Doubts about a typo fix
@ 2022-11-23 19:31 Alejandro Colomar
  2022-11-23 21:40 ` G. Branden Robinson
  0 siblings, 1 reply; 17+ messages in thread
From: Alejandro Colomar @ 2022-11-23 19:31 UTC (permalink / raw)
  To: Time zone mailing list, Paul Eggert; +Cc: linux-man, groff


[-- Attachment #1.1: Type: text/plain, Size: 2375 bytes --]

Hi Paul,

I don't undertstand the commit shown below.  It breaks the '-' symbol, which now 
is a hyphen.  See the table mentioned yesterday:

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


So, at least, it should be (but I believe the initial code was correct):

.q "zic \*\-r @$(date +%s)"

However, I wonder what that \* is intending to do there (I can see no difference 
in my screen with or without it).

Cheers,

Alex

---

commit 918e10e8963b3c0d38d3b5fb8ec9cf08ecd03757
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Tue Jul 12 06:26:53 2022 -0700

     * zic.8: fix minus typo

diff --git a/zic.8 b/zic.8
index 0cd0781e..e8816e5b 100644
--- a/zic.8
+++ b/zic.8
@@ -145,7 +145,7 @@ .SH OPTIONS
  31-bit signed integers.
  On platforms with GNU
  .BR date ,
-.q "zic \-r @$(date +%s)"
+.q "zic \*-r @$(date +%s)"
  omits data intended for past timestamps.
  Although this option typically reduces the output file's size,
  the size can increase due to the need to represent the timestamp range



-- 
<http://www.alejandro-colomar.es/>

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-12-25 23:21 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-23 19:31 Doubts about a typo fix Alejandro Colomar
2022-11-23 21:40 ` G. Branden Robinson
2022-11-26  2:18   ` Paul Eggert
2022-11-26  3:20     ` [tz] " Russ Allbery
2022-11-26  3:50       ` Paul Eggert
2022-11-26 20:44         ` G. Branden Robinson
2022-11-26  3:52     ` G. Branden Robinson
2022-11-26 12:33       ` Deri
2022-11-26 21:01       ` Paul Eggert
2022-11-26 21:56         ` G. Branden Robinson
2022-11-27  1:58           ` Deri
2022-11-27  2:32           ` Paul Eggert
2022-12-13 19:24             ` G. Branden Robinson
2022-12-25 22:07               ` Lennart Jablonka
2022-12-25 23:21                 ` G. Branden Robinson
2022-11-26 21:20       ` Steffen Nurpmeso
2022-11-26 22:07         ` G. Branden Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox