Doubts about a typo fix

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

 



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@xxxxxxxxxxx>
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: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux