perl -e 'for $y (2005..2006) {for $m (1..12) {system "cal $m $y"}}' \ > /tmp/file