From 1ecdf767806842e9d09db879d4fdd98cef7b9810 Mon Sep 17 00:00:00 2001 From: Geunsik Lim Date: Sat, 26 Mar 2016 19:04:31 +0900 Subject: [PATCH] Fix: bracket expression matches a character at gawk This is a trivial patch. However, It's must be modified by gawk. Check it exactly as a plain character (e.g., space, alnum) within the bracket expression at ./coreclr/generateversionscript.awk Signed-off-by: Geunsik Lim --- generateversionscript.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generateversionscript.awk b/generateversionscript.awk index d1c294b..168d398 100644 --- a/generateversionscript.awk +++ b/generateversionscript.awk @@ -8,7 +8,7 @@ BEGIN { gsub(/\r/,"", $0); # Skip empty lines and comment lines starting with semicolon - if (NF && !match($0, /^[:space:]*;/)) + if (NF && !match($0, /^[[:space:]]*;/)) { print " " $0 ";"; } -- 2.7.4