Fix: bracket expression matches a character at gawk
authorGeunsik Lim <geunsik.lim@samsung.com>
Sat, 26 Mar 2016 10:04:31 +0000 (19:04 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Sat, 26 Mar 2016 10:04:31 +0000 (19:04 +0900)
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 <geunsik.lim@samsung.com>
generateversionscript.awk

index d1c294b..168d398 100644 (file)
@@ -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 ";";
        }