blob: 14c6f911c95de3ef066d39a8789356b89bda07af [file] [log] [blame]
rsccfa37a72004-04-10 18:53:55 +00001.TH CALENDAR 1
2.SH NAME
3calendar \- print upcoming events
4.SH SYNOPSIS
5.B calendar
6[
7.B \-y
8]
9[
10.B \-p days
11]
12[
13.I file ...
14]
15.SH DESCRIPTION
16.I Calendar
17reads the named files, default
rscc8b63422005-01-13 04:49:19 +000018.BR $HOME/lib/calendar ,
rsccfa37a72004-04-10 18:53:55 +000019and writes to standard output any lines
20containing today's or tomorrow's date.
21Examples of recognized date formats are
22"4/11",
23"April 11",
24"Apr 11",
25"11 April",
26and
27"11 Apr".
28All comparisons are case insensitive.
29.PP
30If the
31.B \-y
32flag is given, an attempt is made to match on year too. In this case,
33dates of the forms listed above will be accepted if they are followed
34by the current year (or last two digits thereof) or not a year
35digits not followed by white space or non-digits.
36.PP
37If the
38.B \-p
39flag is given, its argument is the number of days ahead to match
40dates. This flag is not repeatable, and it performs no special
41processing at the end of the week.
42.PP
43On Friday and Saturday, events through Monday are printed.
44.PP
45To have your calendar mailed to you every day, use
46.IR cron (8).
47.SH FILES
rscc8b63422005-01-13 04:49:19 +000048.TF $HOME/lib/calendar
rsccfa37a72004-04-10 18:53:55 +000049.TP
rscc8b63422005-01-13 04:49:19 +000050.B $HOME/lib/calendar
rsccfa37a72004-04-10 18:53:55 +000051personal calendar
52.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000053.B \*9/src/cmd/calendar.c