From d8f63a986054e5cded64528dfcc2b529fc22d8be Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 30 Sep 2020 09:29:59 +0200 Subject: [PATCH] man_show_fixme.sh: Fix misquoted double quotes in regexps Signed-off-by: Michael Kerrisk --- scripts/man_show_fixme.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/man_show_fixme.sh b/scripts/man_show_fixme.sh index 98e6ce829..5cc889a3c 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"