netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: kaber@trash.net,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>
Subject: Re: doc: escape minus sign in manpages
Date: Mon, 12 Jan 2009 02:36:10 +0100	[thread overview]
Message-ID: <496A9E8A.10405@netfilter.org> (raw)
In-Reply-To: <alpine.LSU.2.00.0901090313110.16418@fbirervta.pbzchgretzou.qr>

Jan Engelhardt wrote:
> parent fbb9d345e207d1441922d22e0be86f428c815ae7
> commit 39428b78ecfdbefb941f3eabc63f7e2d8c460e08
> Author: Jan Engelhardt <jengelh@medozas.de>
> Date:   Fri Jan 9 03:09:47 2009 +0100
> 
> doc: escape minus sign in manpages
> 
> groff formats '-' as a hyphen, and '\-' is needed for a minus.
> 
> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
> ---
[...]
> --- a/extensions/libip6t_HL.man
> +++ b/extensions/libip6t_HL.man
> @@ -7,11 +7,11 @@ table.
>  .PP
>  .B Don't ever set or increment the value on packets that leave your local network!
>  .TP
> -.BI "--hl-set " "value"
> +\fB\-\-hl\-set\fP \fIvalue\fP

I like this change.

> --- a/extensions/libip6t_LOG.man
> +++ b/extensions/libip6t_LOG.man
> @@ -1,31 +1,31 @@
>  Turn on kernel logging of matching packets.  When this option is set
>  for a rule, the Linux kernel will print some information on all
> -matching packets (like most IPv6 IPv6-header fields) via the kernel log
> +matching packets (like most IPv6 IPv6\-header fields) via the kernel log
                                        ^^
But hyphen is fine here.

Could you rework you script to actually change only options to minus?
This would result in a smaller patch.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

  parent reply	other threads:[~2009-01-12  1:36 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  2:13 doc: escape minus sign in manpages Jan Engelhardt
2009-01-09 20:54 ` ENOBUF error during recv Ryan VanRiper
2009-01-09 22:09   ` Eric Leblond
2009-01-12  1:36 ` Pablo Neira Ayuso [this message]
2009-01-12  2:39   ` doc: escape minus sign in manpages Jan Engelhardt
2009-01-12  3:53     ` Patrick McHardy
2009-01-12  6:07     ` Jan Engelhardt
2009-01-12  6:20       ` Patrick McHardy
2009-01-14  5:47         ` Jan Engelhardt
2009-01-16  8:05           ` Patrick McHardy
2009-01-16  8:19             ` Jan Engelhardt
2009-01-19 14:35               ` Patrick McHardy

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=496A9E8A.10405@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=jengelh@medozas.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).