cal(1)
cal --
print calendar
Synopsis
cal [[month] year]
Description
cal prints a calendar for the specified year.
If a month is also specified, a calendar
just for that month is printed.
If neither is specified, a calendar for
the present month is printed.
The month is a number between 1 and 12.
The year can be between 1
and 9999.
The calendar produced is
in the form of a Gregorian calendar
(as used in Western Europe and the United States), but the month and the
abbreviated day names are taken from the locale given by the
environment variable LC_TIME.
cal examines the environment variables LC_TIME
to determine the names of the months and days, and LC_CTYPE for how
to print the characters the names are composed from.
If the abbreviated day name in the locale entry is longer than
two screen columns in width, it is truncated to two columns.
Files
/usr/lib/locale/locale/LC_MESSAGES/uxue-
language-specific message file
(see LANG on
environ(5)).
Notices
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 even though this
is historically naive.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004