From: Michael Kerrisk Date: Wed, 30 Sep 2020 07:29:59 +0000 (+0200) Subject: man_show_fixme.sh: Fix misquoted double quotes in regexps X-Git-Tag: man-pages-5.09~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f63a986054e5cded64528dfcc2b529fc22d8be;p=thirdparty%2Fman-pages.git man_show_fixme.sh: Fix misquoted double quotes in regexps Signed-off-by: Michael Kerrisk --- diff --git a/scripts/man_show_fixme.sh b/scripts/man_show_fixme.sh index 98e6ce8290..5cc889a3c5 100755 --- a/scripts/man_show_fixme.sh +++ b/scripts/man_show_fixme.sh @@ -5,13 +5,13 @@ # for f in $*; do cat $f | awk ' - /^\.\\\" *FIXME/ { + /^\.\\" *FIXME/ { if ($0 ~ /.*FIXME *\..*/) { # FIXMES of the form "FIXME ." are "private" and # ignored by this script } else { sub("FIXME[: ]*", "") - if ($0 ~ /^\.\\\"[ ]*$/) { + if ($0 ~ /^\.\\"[ ]*$/) { # If the FIXME line contains no additional text after # "FIXME", then discard the blank line @@ -31,7 +31,7 @@ for f in $*; do } } - $0 !~ /^\.\\\"/ && fixme == 1 { + $0 !~ /^\.\\"/ && fixme == 1 { fixme = 0 print "T}" print ".TE"