NAME

is_leap_year.sh - tell if year is leap

SYNOPSYS

is_leap_year.sh [yyyy]

DESCRIPTION

Tell if year is leap by exit status.

If no argument is given, current year will be used.

EXAMPLES

Is 2000 leap ?

$ is_leap_year.sh 2000
$ echo ${?}
0

Is 2001 leap ?

$ is_leap_year.sh 2001
$ echo ${?}
1

FILES

original location

/usr/home/fplod/incas/varamma/varamma_ws/is_leap_year.sh sur aedon.locean-ipsl.upmc.fr

EVOLUTIONS

$Id: is_leap_year.sh 2 2008-12-18 16:56:52Z pinsard $