calendar(1)calendar(1)Namecalendar - calendar reminder service
Syntaxcalendar [-]
Description
The command consults the file `calendar' in the current directory and
prints out lines that contain today's or tomorrow's date. The command
recognizes most month-day dates, such as Dec. 7, december 7, 12/7, but
it does not recognize dates formatted in the following ways: 7 Decem‐
ber or 7/12. If you give the month as * with a date, such as, * 1,
that day in any month will do. On weekends, specifying tomorrow
extends through Monday.
When an argument is present, the command searches through a user's cal‐
endar file in his login directory and sends him any positive results by
Normally this is done daily under control of
The calendar file is first run through the C preprocessor, to include
any other calendar files specified with the #include syntax. Included
calendars are shared by all users, and are maintained and documented by
the local administration.
Options
- Functions for every user who has a calendar file in his login
directory.
Restrictions
The extended idea of tomorrow does not account for holidays.
Filescalendar
/usr/lib/calendar to figure out today's and tomorrow's dates
/etc/passwd
/tmp/cal*
/lib/cpp, egrep, sed, mail as subprocesses
See Alsoat(1), cron(8), mail(1)calendar(1)