Importing usr.bin/cal

This commit is contained in:
Thomas Cort
2013-03-15 23:52:39 +00:00
committed by Lionel Sambuc
parent 85468eb5c8
commit a99e83a2dc
11 changed files with 1133 additions and 353 deletions

View File

@@ -1,5 +1,5 @@
MAN= ash.1 at.1 banner.1 basename.1 \
bsfilt.1 cal.1 cawf.1 chgrp.1 \
bsfilt.1 cawf.1 chgrp.1 \
chmod.1 cmp.1 comm.1 compress.1 \
cp.1 crc.1 crontab.1 dd.1 \
df.1 dhrystone.1 dosdir.1 dosread.1 doswrite.1 \

View File

@@ -1,29 +0,0 @@
.TH CAL 1
.SH NAME
cal \- print a calendar
.SH SYNOPSIS
\fBcal\fR [\fImonth\fR] \fIyear\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH EXAMPLES
.TP 20
.B cal 3 1992
# Print March 1992
.SH DESCRIPTION
.PP
\fICal\fR prints a calendar for a month or year. The year can be
between 1 and 9999.
Note that the year 91 is not a synonym for 1991, but is itself a
valid year about 19 centuries ago. The calendar produced is the one used
by England and her colonies. Try Sept. 1752, Feb 1900, and Feb 2000. If
you do not understand what is going on, look up \fICalendar, Gregorian\fR in a
good encyclopedia.