cal [[month] year]
cal displays a simple calendar. If no arguments are specified, the current
month is displayed. A single argument is interpreted as a year and the
calendar for every month in that year is displayed. Two arguments are taken
as a month/year pair and the calendar for that month will be output.
This version will not display calendars for years outside of what can be
represented by gmtime. A replacement find_day_of_week function that handles
arbitrary years would fix this problem. And we don't properly display the
calendar for 1752. Sorry, but if you need it for planning your social
calendar, well, then you have other serious problems..
The author also doesn't have a clue about how to use formats. If anyone has
a better way to produce the output for full year calendars, please let me
know.
A cal command appeared in Version 6 AT&T Unix
Tramm Hudson hudson@swcp.com 28 Feb
1999