2013-06-19 18:13:50 +00:00
|
|
|
.TH CAL 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
|
|
|
cal \- print calendar
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B cal
|
2013-06-19 20:10:26 +00:00
|
|
|
.RB [ \-1 ]
|
|
|
|
.RB [ \-3 ]
|
|
|
|
.RB [ \-m ]
|
|
|
|
.RB [ \-s ]
|
|
|
|
.RB [ \-y ]
|
2013-06-19 18:13:50 +00:00
|
|
|
.RB [ \-c
|
|
|
|
.IR columns ]
|
2013-06-19 20:10:26 +00:00
|
|
|
.RB [ \-f
|
|
|
|
.IR firstday ]
|
2013-06-19 18:13:50 +00:00
|
|
|
.RB [ \-n
|
2013-06-19 20:10:26 +00:00
|
|
|
.IR nmonths ]
|
2015-01-06 20:14:56 +00:00
|
|
|
.RB [ [
|
2013-06-19 20:10:26 +00:00
|
|
|
.IR month ]
|
2013-06-19 18:13:50 +00:00
|
|
|
.IR year ]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
Beginning with
|
|
|
|
.IR month
|
|
|
|
and
|
|
|
|
.IR year
|
|
|
|
print
|
|
|
|
.IR number
|
|
|
|
of calendars side by side. Each row of calendars contains at most
|
|
|
|
.IR columns
|
2013-06-19 20:10:26 +00:00
|
|
|
number of calendars. The defaults are obtained using
|
|
|
|
.IR localtime (3).
|
2013-06-19 18:13:50 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2013-06-19 20:10:26 +00:00
|
|
|
.B \-1
|
|
|
|
Print one single month.
|
|
|
|
.TP
|
|
|
|
.B \-3
|
|
|
|
Print prev/current/nexth month.
|
|
|
|
.TP
|
|
|
|
.B \-m
|
|
|
|
Print Monday as first day of week.
|
|
|
|
.TP
|
|
|
|
.B \-s
|
|
|
|
Print Sunday as first day of week.
|
|
|
|
.TP
|
|
|
|
.B \-y
|
|
|
|
Print a calendar of the current year.
|
|
|
|
.TP
|
2013-06-19 18:13:50 +00:00
|
|
|
.BI \-c " columns"
|
2013-06-19 20:10:26 +00:00
|
|
|
Print
|
2013-06-19 18:13:50 +00:00
|
|
|
.IR columns
|
2013-06-19 20:10:26 +00:00
|
|
|
number of calendars in a row. The default is 3.
|
2013-06-19 18:13:50 +00:00
|
|
|
.TP
|
2013-06-19 20:10:26 +00:00
|
|
|
.BI \-f " firstday"
|
|
|
|
Specify the first day of the week. 0 is Sunday and 6 is Saturday.
|
2013-06-19 18:13:50 +00:00
|
|
|
.TP
|
2013-06-19 20:10:26 +00:00
|
|
|
.BI \-n " nmonths"
|
|
|
|
Specify the number months to print. The default is 1.
|
2013-06-19 18:13:50 +00:00
|
|
|
.SH SEE ALSO
|
|
|
|
.IR localtime (3)
|