CAL(1,C) AIX Commands Reference CAL(1,C)
-------------------------------------------------------------------------------
cal
PURPOSE
Displays a calendar.
SYNTAX
+---------+
cal ---| |-- year --|
+- month -+
Note: This command does not have MBCS support.
DESCRIPTION
The cal command writes to standard output a Gregorian calendar for the
specified year or month.
The month parameter names the month for which you want the calendar. It can be
a number between 1 and 12 (for January through December, respectively). If you
are using a system that supports a multibyte character set, the name of the
month and the abbreviation of the day of the week are locale-specific.
The year parameter names the year for which you want the calendar. Since the
cal command can display a calendar for any year from 1 to 9999, enter the full
year rather than just the last two digits.
EXAMPLES
1. To display a calendar for February 1984 at your work station:
cal 2 1984
2. To print a calendar for 1984:
cal 1984 | print
3. To display a calendar for the year 84 A.D.:
cal 84
RELATED INFORMATION
See "Introduction to International Character Support" in Managing the AIX
Operating System.
Processed November 8, 1990 CAL(1,C) 1