]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
doc: avoid duplicate entries in manpage
authorJan Engelhardt <jengelh@medozas.de>
Wed, 6 Apr 2011 11:21:54 +0000 (13:21 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 6 Apr 2011 11:22:52 +0000 (13:22 +0200)
Commit v1.4.9-35-gd4105ad changed from [A-Z] and [a-z] to use
[[:alnum:]], which unfortunately drew matches into the target section,
and targets into the match section. [[:upper:]] and [[:lower:]] should
have been used instead, of course.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
extensions/GNUmakefile.in

index 1419d76b95cbf777f7f7c5a04705972175537a4b..0e562fb56ecd05423e62493edde05f2bd2ebccac 100644 (file)
@@ -155,8 +155,8 @@ initext6.c: .initext6.dd
 #
 #      Manual pages
 #
-ex_matches = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:alnum:]_]+\b'))
-ex_targets = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:alnum:]_]+\b'))
+ex_matches = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:lower:][:digit:]_]+\b'))
+ex_targets = $(sort $(shell echo $(1) | LC_ALL=POSIX grep -Eo '\b[[:upper:][:digit:]_]+\b'))
 man_run    = \
        ${AM_VERBOSE_GEN} \
        for ext in $(1); do \