[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'-' vs '\-' in TH (man(7))
From: |
Alejandro Colomar |
Subject: |
'-' vs '\-' in TH (man(7)) |
Date: |
Sun, 20 Aug 2023 21:10:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 |
Hi Branden,
I just noticed that the Linux man-pages use '-' in TH. That's
surprising to me, as Michael was careful to use '\-' correctly.
In the documentation, I couldn't find anything that says TH
should be different than anywhere else, and so I'd expect he
would have used it there.
$ grep -rn '^\.TH [^ ]*-' man* | wc -l
30
$ grep -rn '^\.TH [^ ]*\\-' man* | wc -l
0
Was it just an oversight, or are there any obscure reasons to do
that?
Cheers,
Alex
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
OpenPGP_signature
Description: OpenPGP digital signature
- '-' vs '\-' in TH (man(7)),
Alejandro Colomar <=