#!/bin/rc { for(year in `{seq 2007 2009}) echo $year `{dateof $year mar sun last>[2=]} `{dateof $year oct sun last>[2=]} } | sed '1d $d'