Added cal and updated Makefile

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
Jesse Ogle
2013-06-19 14:13:50 -04:00
committed by Christoph Lohmann
parent 7f88cf7021
commit 0f523ec9c6
3 changed files with 190 additions and 0 deletions

42
cal.1 Normal file
View File

@@ -0,0 +1,42 @@
.TH CAL 1 sbase\-VERSION
.SH NAME
cal \- print calendar
.SH SYNOPSIS
.B cal
.RB [ \-c
.IR columns ]
.RB [ \-m
.IR month ]
.RB [ \-n
.IR number ]
.RB [ \-y
.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
number of calendars.
.SH OPTIONS
.TP
.BI \-c " columns"
print
.IR columns
number of calendars in a row. default is 3
.TP
.BI \-m " month"
starting month. default is obtained from
.IR localtime (3)
.TP
.BI \-n " number"
number of calendars to print. default is 1
.TP
.BI \-y " year"
starting year. default is obtained from
.IR localtime (3)
.SH SEE ALSO
.IR localtime (3)