3 # $NetBSD: yearistype.sh,v 1.5 2005/02/12 00:31:41 kleink Exp $
6 : 'This file is in the public domain, so clarified as of'
7 : '2006-07-17 by Arthur David Olson.'
9 : '@(#)yearistype.sh 8.2'
13 echo "$0: wild year - $1" >&2
23 2-nonpres|
2-nonuspres)
25 *[02468][048]|
*[13579][26]) exit 1 ;;
35 *[02468][048]|
*[13579][26]) exit 0 ;;
39 echo "$0: wild type - $2" >&2 ;;
42 echo "$0: usage is $0 year even|odd|uspres|nonpres|nonuspres" >&2