calendar - reminder service
Synopsis
Description
Environment Variables
Files
See Also
Notes
calendar [-]
Calendar consults the file 'calendar' in the current directory and prints out lines that contain today's or tomorrow's date anywhere in the line. In the C locale, most reasonable month-day dates such as 'Dec. 7,' 'december 7,' '12/7,' etc., are recognized, but not '7 December' or '7/12'. On weekends 'tomorrow' extends through Monday.When an 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). This can be done daily in the wee hours under control of cron(1).
LANG, LC_ALL See locale(7). LC_CTYPE Used to separate the first three characters for abbreviated month names. LC_TIME Determines the abbreviated month names and the order of month and day.
calendar
/usr/5lib/calprog to figure out today's and tomorrow's dates
/etc/passwd
/tmp/cal*
egrep, sed, mail subprocesses
at(1), cron(1), mail(1)
Your calendar must be public information for you to get reminder service.
Calendar's extended idea of 'tomorrow' doesn't account for holidays.
Heirloom Toolchest | CALENDAR (1) | 10/11/03 |