List of Sundays for the years 2000 to 2005

hi,
i need to write a script that would list me all sundays in the year 2000 and 2005.

output need to be just the date .

:wink:

here's the start:

#!/bin/ksh

typeset -i year=yearStart=2000
typeset -i yearEnd=2005

while (( year <= yearEnd ))
do
   for month in 1 2 3 4 5 6 7 8 9 10 12
   do
       #echo "${month}/${year}"
       cal "${month}" "${year}" | \
           nawk -v my="${month}/%s/${year}\n" 'NR>2 && NF {printf my, $NF}'}'
   done;
   (( year += 1 ))
done;