Imported Upstream version 2017c
[platform/upstream/tzdata.git] / checklinks.awk
index 5b3e157..f309010 100644 (file)
@@ -9,7 +9,7 @@ BEGIN {
     Zone = "\n"
 }
 
-/^Zone/ {
+/^Z/ {
     if (defined[$2]) {
        if (defined[$2] == Zone) {
            printf "%s: Zone has duplicate definition\n", $2
@@ -21,7 +21,7 @@ BEGIN {
     defined[$2] = Zone
 }
 
-/^Link/ {
+/^L/ {
     if (defined[$3]) {
        if (defined[$3] == Zone) {
            printf "%s: Link with same name as Zone\n", $3