3 : 'This file is in the public domain, so clarified as of'
4 : '2006-07-17 by Arthur David Olson.'
6 : '@(#)yearistype.sh 8.2'
10 echo "$0: wild year - $1" >&2
20 2-nonpres|
2-nonuspres)
22 *[02468][048]|
*[13579][26]) exit 1 ;;
32 *[02468][048]|
*[13579][26]) exit 0 ;;
36 echo "$0: wild type - $2" >&2 ;;
39 echo "$0: usage is $0 year even|odd|uspres|nonpres|nonuspres" >&2