1 # Check links in tz tables.
3 # Contributed by Paul Eggert. This file is in the public domain.
6 # Special marker indicating that the name is defined as a Zone.
7 # It is a newline so that it cannot match a valid name.
8 # It is not null so that its slot does not appear unset.
14 if (defined[$2] == Zone) {
15 printf "%s: Zone has duplicate definition\n", $2
17 printf "%s: Link with same name as Zone\n", $2
26 if (defined[$3] == Zone) {
27 printf "%s: Link with same name as Zone\n", $3
28 } else if (defined[$3] == $2) {
29 printf "%s: Link has duplicate definition\n", $3
31 printf "%s: Link to both %s and %s\n", $3, defined[$3], $2
41 if (defined[tz] != Zone) {
42 printf "%s: Link to non-zone\n", tz