plan9port/man/man1/cal.1

47 lines
848 B
Groff
Raw Normal View History

2004-04-10 18:53:55 +00:00
.TH CAL 1
.SH NAME
cal \- print calendar
.SH SYNOPSIS
.B cal
[
.I month
]
[
.I year
]
.SH DESCRIPTION
.I Cal
prints a calendar.
.I Month
is either a number from 1 to 12,
a lower case month name,
or a lower case three-letter prefix of a month name.
.I Year
can be between 1
and 9999.
If either
.I month
or
.I year
is omitted, the current month or year is used.
If only one argument is given, and it is a number larger than 12,
a calendar for all twelve months of the given year is produced;
otherwise a calendar for just one month is printed.
The calendar
produced is that for England and her colonies.
.PP
Try
.EX
cal sep 1752
.EE
.SH SOURCE
2005-01-11 17:37:33 +00:00
.B \*9/src/cmd/cal.c
2004-04-10 18:53:55 +00:00
.SH BUGS
The year is always considered to start in January even though this
is historically naive.
2005-01-13 04:49:19 +00:00
.PP
2004-04-10 18:53:55 +00:00
Beware that
.L "cal 90"
refers to the early Christian era,
not the 20th century.