Manual page for cal(1)
cal - display a calendar
utility writes a Gregorian calendar
to standard output.
operand is specified, a calendar for that year is written.
If no operands are specified, a calendar for the current month is written.
The following operands are supported:
Specify the month to be displayed, represented as a decimal integer from
The default is the current month.
Specify the year for which the calendar is displayed,
represented as a decimal integer from
The default is the current year.
for descriptions of the following environment variables that affect
the execution of
The following exit values are returned:
An error occurred.
An unusual calendar is printed for September 1752.
That is the month 11 days were skipped to make up
for lack of leap year adjustments.
To see this calendar, type:
cal 9 1752
The command cal 83 refers to the year 83, not 1983.
The year is always considered to start in January.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97