CALENDAR(1) — USER COMMANDS
NAME
calendar − reminder service
SYNOPSIS
calendar [ − ]
DESCRIPTION
Calendar consults the file calendar in the current directory and displays lines that contain today’s or tomorrow’s date anywhere in the line. Most reasonable month-day dates — such as ‘Dec. 7,’ ‘december 7,’ and ‘12/7’ — are recognized, but ‘7 December’ or ‘7/12’ are not. If you give the month as “∗” with a date — for example, “∗ 1” — that day in any month will do. On weekends ‘tomorrow’ extends through Monday.
When the optional − argument is present, calendar does its job for every user who has a file calendar in his login directory and sends him any positive results by mail(1). Normally this is done daily in the wee hours under control of cron(8).
The file calendar is first run through the C preprocessor, /lib/cpp, to include any other calendar files specified with the usual “#include” syntax. Included calendars are usually shared by all users, and maintained by the system administrator.
FILES
~/calendar
/usr/lib/calendarto figure out today’s and tomorrow’s dates
/etc/passwd
/tmp/cal∗
/lib/cppsubprocess
/usr/bin/egrepsubprocess
/bin/sedsubprocess
/bin/mailsubprocess
SEE ALSO
BUGS
Calendar’s extended idea of ‘tomorrow’ doesn’t account for holidays.
Sun Release 3.2 — Last change: 17 February 1986