|
NAMEcal - display a calendarSYNOPSIScal [ [month] year] DESCRIPTIONThe cal utility writes a Julian or Gregorian calendar to standard output. If the year operand is specified, a calendar for that year is written. If no operands are specified, a calendar for the current month is written. The date to switch from the Julian calendar to the Gregorian calendar is controlled by the environment variable GREGORIAN and the current locale. OPERANDSThe following operands are supported:
ENVIRONMENT VARIABLESSee environ(5) for descriptions of the following environment variables that affect the execution of cal: LANG, LC_ALL, LC_CTYPE, LC_TIME, LC_MESSAGES, and NLSPATH.
EXIT STATUSThe following exit values are returned:
ATTRIBUTESSee attributes(5) for descriptions of the following attributes:
SEE ALSOcalendar(1), attributes(5), environ(5), standards(5) NOTESIn case that the environment GREGORIAN is not active, an unusual calendar is printed for September 1752. That is the month 11 days were skipped in the Kingdom of Great Britain and their colonies 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.
Visit the GSP FreeBSD Man Page Interface. |