<tt>calendar</tt>



next up previous contents
Next: Exercises Up: Special Files Previous: .elm/mailrc

calendar

The calendar file-usually in the home directory-is used as a reminder file. Each entry in the file is one line long, and starts with a date in the form May 21 or 5/21 followed by some message. An asterisk () represents all months (in the case * 21, every 21st), or every day (May *).

When the program calendar is started, UNIX looks into the current directory for a file called calendar, and reads it. If any of the dates represent the current date, or the day following (excluding weekends), it prints the message line on the console.

It is common to see the command

calendar
in the .login or .profile file.



Super-User
Fri Feb 17 15:55:40 EST 1995