Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
[unix-history] / share / zoneinfo / datfiles / yearistype.sh
CommitLineData
ecdde2d7
GW
1#! /bin/sh
2
3: '@(#)yearistype.sh 7.2'
4
5case $#-$2 in
6 2-odd) case $1 in
7 *[13579]) exit 0 ;;
8 *) exit 1 ;;
9 esac ;;
10 2-even) case $1 in
11 *[24680]) exit 0 ;;
12 *) exit 1 ;;
13 esac ;;
14 2-*) echo "$0: wild type - $2" >&2
15 exit 1 ;;
16 *) echo "$0: usage is $0 year type" >&2
17 exit 1 ;;
18esac