version 1.12, 2003/07/13 18:35:00 |
version 1.13, 2005/09/25 21:05:04 |
|
|
.Nm cal |
.Nm cal |
.Op Fl jy |
.Op Fl jy |
.Oo |
.Oo |
.Op Ar month |
.Ar month |
.Ar year |
.Ar year |
.Oc |
.Oc |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
displays a simple calendar. |
displays a simple calendar. |
If arguments are not specified, |
Calendars may be displayed by month or by year. |
the current month is displayed. |
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
|
Display a calendar for the current year. |
Display a calendar for the current year. |
.El |
.El |
.Pp |
.Pp |
A single parameter specifies the year (1 - 9999) to be displayed; |
A single numerical parameter specifies the |
note the year must be fully specified: |
.Ar year |
|
(1 \- 9999) |
|
to be displayed. |
|
The year must be fully specified: |
.Dq Li cal 89 |
.Dq Li cal 89 |
will |
will |
.Em not |
.Em not |
display a calendar for 1989. |
display a calendar for 1989. |
Two parameters denote the month (1 - 12) and year. |
Two numerical parameters denote the |
|
.Ar month |
|
(1 \- 12) |
|
and |
|
.Ar year . |
|
Alternatively, |
|
a single parameter may be given specifying the abbreviated name of a month: |
|
in that case a calendar is displayed for that month of the current year. |
If no parameters are specified, the current month's calendar is |
If no parameters are specified, the current month's calendar is |
displayed. |
displayed. |
.Pp |
.Pp |