]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man_show_fixme.sh: Fix misquoted double quotes in regexps
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 30 Sep 2020 07:29:59 +0000 (09:29 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 30 Sep 2020 07:39:05 +0000 (09:39 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
scripts/man_show_fixme.sh

index 98e6ce829068aab26603201bbe746c1d546eeab4..5cc889a3c56c492af0465e91335865276c85b27b 100755 (executable)
@@ -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"