public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: linux-man <linux-man@vger.kernel.org>, groff <groff@gnu.org>
Subject: '-' vs '\-' in TH (man(7))
Date: Sun, 20 Aug 2023 21:10:52 +0200	[thread overview]
Message-ID: <4e1081d0-1d77-0a00-78bf-5dc40522f428@kernel.org> (raw)


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

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

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

             reply	other threads:[~2023-08-20 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-20 19:10 Alejandro Colomar [this message]
2023-08-20 21:51 ` '-' vs '\-' in TH (man(7)) Brian Inglis
2023-08-20 22:41   ` Alejandro Colomar
2023-08-21  0:59     ` Lennart Jablonka
2023-08-22 19:29       ` G. Branden Robinson

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=4e1081d0-1d77-0a00-78bf-5dc40522f428@kernel.org \
    --to=alx@kernel.org \
    --cc=g.branden.robinson@gmail.com \
    --cc=groff@gnu.org \
    --cc=linux-man@vger.kernel.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