003 File Manager
Current Path:
/usr/src/contrib/tzdata
usr
/
src
/
contrib
/
tzdata
/
📁
..
📄
CONTRIBUTING
(2.97 KB)
📄
LICENSE
(252 B)
📄
Makefile
(42.98 KB)
📄
NEWS
(182.34 KB)
📄
README
(2.37 KB)
📄
africa
(68.52 KB)
📄
antarctica
(13.42 KB)
📄
asia
(173.67 KB)
📄
australasia
(93.2 KB)
📄
backward
(4.57 KB)
📄
backzone
(25.61 KB)
📄
calendars
(5.44 KB)
📄
checklinks.awk
(1008 B)
📄
checktab.awk
(4.37 KB)
📄
etcetera
(2.64 KB)
📄
europe
(178.37 KB)
📄
factory
(443 B)
📄
leap-seconds.list
(10.42 KB)
📄
leapseconds
(3.31 KB)
📄
leapseconds.awk
(8.68 KB)
📄
northamerica
(165.39 KB)
📄
pacificnew
(1.22 KB)
📄
southamerica
(86.21 KB)
📄
systemv
(1.56 KB)
📄
theory.html
(59.36 KB)
📄
version
(6 B)
📄
yearistype.sh
(753 B)
📄
ziguard.awk
(4.09 KB)
📄
zishrink.awk
(8.15 KB)
📄
zone.tab
(18.87 KB)
📄
zone1970.tab
(17.43 KB)
📄
zoneinfo2tdf.pl
(1.42 KB)
Editing: checklinks.awk
# Check links in tz tables. # Contributed by Paul Eggert. This file is in the public domain. BEGIN { # Special marker indicating that the name is defined as a Zone. # It is a newline so that it cannot match a valid name. # It is not null so that its slot does not appear unset. Zone = "\n" } /^Z/ { if (defined[$2]) { if (defined[$2] == Zone) { printf "%s: Zone has duplicate definition\n", $2 } else { printf "%s: Link with same name as Zone\n", $2 } status = 1 } defined[$2] = Zone } /^L/ { if (defined[$3]) { if (defined[$3] == Zone) { printf "%s: Link with same name as Zone\n", $3 } else if (defined[$3] == $2) { printf "%s: Link has duplicate definition\n", $3 } else { printf "%s: Link to both %s and %s\n", $3, defined[$3], $2 } status = 1 } used[$2] = 1 defined[$3] = $2 } END { for (tz in used) { if (defined[tz] != Zone) { printf "%s: Link to non-zone\n", tz status = 1 } } exit status }
Upload File
Create Folder