Skip to contentSkip to conversation

man: Do not escape exclamation marks

PATCH In review Phil Sutter 1 participant 2 messages Nov 28, 2023 – Nov 29, 2023 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 man: Do not escape exclamation marks

This appears to be not necessary, also mandoc complains about it:

| mandoc: iptables/iptables-extensions.8:2170:52: UNSUPP: unsupported escape sequence: \!

Fixes 71eddedcbf7ae ("libip6t_DNPT: add manpage")
Fixes 0a4c357cb91e1 ("libip6t_SNPT: add manpage")
---
 extensions/libip6t_DNPT.man | 2 +-
 extensions/libip6t_SNPT.man | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
extensions/libip6t_DNPT.man +1 -1
index a9c06700a7dcd..2c4ae61b249c0 100644
@@ -15,7 +15,7 @@ Set destination prefix that you want to use in the translation and length
 .PP
 You have to use the SNPT target to undo the translation. Example:
 .IP
-ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 \! \-o vboxnet0
+ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 ! \-o vboxnet0
 \-j SNPT \-\-src-pfx fd00::/64 \-\-dst-pfx 2001:e20:2000:40f::/64
 .IP
 ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
extensions/libip6t_SNPT.man +1 -1
index 1185d9c01ce8a..8741c648d5986 100644
@@ -15,7 +15,7 @@ Set destination prefix that you want to use in the translation and length
 .PP
 You have to use the DNPT target to undo the translation. Example:
 .IP
-ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 \! \-o vboxnet0
+ip6tables \-t mangle \-I POSTROUTING \-s fd00::/64 ! \-o vboxnet0
 \-j SNPT \-\-src-pfx fd00::/64 \-\-dst-pfx 2001:e20:2000:40f::/64
 .IP
 ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
Signature · 1 line
2.41.0
author reviewer
#1 lore raw
Quoted 7 lines · Phil Sutter

This appears to be not necessary, also mandoc complains about it:

| mandoc: iptables/iptables-extensions.8:2170:52: UNSUPP: unsupported escape sequence: \!

Fixes 71eddedcbf7ae ("libip6t_DNPT: add manpage")
Fixes 0a4c357cb91e1 ("libip6t_SNPT: add manpage")

Patch applied.