From 30d41ce662e970cf37148b8f3c3f8c0ca03d8696 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 27 Oct 2020 19:42:47 +0100 Subject: [PATCH] FIXME_list.sh: Fix broken regexp Signed-off-by: Michael Kerrisk --- scripts/FIXME_list.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/FIXME_list.sh b/scripts/FIXME_list.sh index f7acc9880..59ba3c0cb 100755 --- a/scripts/FIXME_list.sh +++ b/scripts/FIXME_list.sh @@ -73,9 +73,9 @@ for dir in "$@"; do # /.\" FIXME . / ==> do not display this FIXME, unless # -a command-line option was supplied - if ($0 ~ /^\.\\\" FIXME \./ ) + if ($0 ~ /^\.\\" FIXME \./ ) FIXME_type = "hidden" - else if ($0 ~ /^\.\\\" FIXME *\?/ ) + else if ($0 ~ /^\.\\" FIXME *\?/ ) FIXME_type = "question" else FIXME_type = "normal"; @@ -96,12 +96,12 @@ for dir in "$@"; do if (getline == 0) finished = 1; - if (!($0 ~ /^.\\\"/)) + if (!($0 ~ /^.\\"/)) finished = 1; # /.\" .$/ ==> Explicit end of FIXME - if ($0 ~ /^.\\\" \.$/) + if ($0 ~ /^.\\" \.$/) finished = 1; } while (!finished);