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: yearistype.sh
#! /bin/sh : 'Determine whether year is of appropriate type (this file is obsolete).' : 'This file is in the public domain, so clarified as of' : '2006-07-17 by Arthur David Olson.' case $#-$1 in 2-|2-0*|2-*[!0-9]*) echo "$0: wild year: $1" >&2 exit 1 ;; esac case $#-$2 in 2-even) case $1 in *[24680]) exit 0 ;; *) exit 1 ;; esac ;; 2-nonpres|2-nonuspres) case $1 in *[02468][048]|*[13579][26]) exit 1 ;; *) exit 0 ;; esac ;; 2-odd) case $1 in *[13579]) exit 0 ;; *) exit 1 ;; esac ;; 2-uspres) case $1 in *[02468][048]|*[13579][26]) exit 0 ;; *) exit 1 ;; esac ;; 2-*) echo "$0: wild type: $2" >&2 ;; esac echo "$0: usage is $0 year even|odd|uspres|nonpres|nonuspres" >&2 exit 1
Upload File
Create Folder