mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 19:24:13 +00:00
more usage work
SCCS-file: yearistype.sh SCCS-SID: 7.6
This commit is contained in:
committed by
Paul Eggert
parent
80611b2ab1
commit
e642a99be9
@ -2,6 +2,12 @@
|
||||
|
||||
: '%W%'
|
||||
|
||||
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
|
||||
@ -24,8 +30,7 @@ case $#-$2 in
|
||||
*) exit 1 ;;
|
||||
esac ;;
|
||||
2-*)
|
||||
echo "$0: wild type - $2" >&2
|
||||
;;
|
||||
echo "$0: wild type - $2" >&2 ;;
|
||||
esac
|
||||
|
||||
echo "$0: usage is $0 year even|odd|uspres|nonpres|nonuspres" >&2
|
||||
|
||||
Reference in New Issue
Block a user