From b7d45c140fde9366a34412dbd318dd7c84bbef14 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 24 Oct 2023 14:58:06 +0200 Subject: man: encode minushyphen the way groff/man requires it Sparked by a recent LWN article[1], sweeps over the iptables manpages for incorrectly encoded dashes was made by Phil Sutter and myself. An ASCII minushyphen in the source manpage translates to a hyphen in output, so one has to use the sequence "\-" to get a minushyphen in the output, as groff_char(7) explains. [1] https://lwn.net/Articles/947941/ (paywalled until about 2023-11-06) Signed-off-by: Jan Engelhardt Signed-off-by: Phil Sutter --- extensions/libxt_osf.man | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/libxt_osf.man') diff --git a/extensions/libxt_osf.man b/extensions/libxt_osf.man index 41103f29..8bd35554 100644 --- a/extensions/libxt_osf.man +++ b/extensions/libxt_osf.man @@ -29,8 +29,8 @@ Log determined genres into dmesg even if they do not match the desired one. .PP You may find something like this in syslog: .PP -Windows [2000:SP3:Windows XP Pro SP1, 2000 SP3]: 11.22.33.55:4024 -> -11.22.33.44:139 hops=3 Linux [2.5-2.6:] : 1.2.3.4:42624 -> 1.2.3.5:22 hops=4 +Windows [2000:SP3:Windows XP Pro SP1, 2000 SP3]: 11.22.33.55:4024 \-> +11.22.33.44:139 hops=3 Linux [2.5\-2.6:] : 1.2.3.4:42624 \-> 1.2.3.5:22 hops=4 .PP OS fingerprints are loadable using the \fBnfnl_osf\fP program. To load fingerprints from a file, use: @@ -42,4 +42,4 @@ To remove them again, \fBnfnl_osf \-f /usr/share/xtables/pf.os \-d\fP .PP The fingerprint database can be downloaded from -http://www.openbsd.org/cgi-bin/cvsweb/src/etc/pf.os . +http://www.openbsd.org/cgi\-bin/cvsweb/src/etc/pf.os . -- cgit v1.2.3