Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ calendar(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod

mail, Mail

calendar

PURPOSE

     Writes reminder messages to standard output.

SYNOPSIS
     calendar [ - ]


DESCRIPTION

     The calendar  command reads a file  named calendar, which
     you create in your  current (usually home) directory.  It
     writes to standard output any  line in the file that con-
     tains today's or tomorrow's date.

     The  calendar command  recognizes  date  formats such  as
     "Dec. 7" or "12/7".  It also recognizes the special char-
     acter "*" (asterisk).  It  interprets "*/7", for example,
     as signifying  the seventh day of  every month.  calendar
     does not recognize formats  such as "7 December", "7/12",
     or "DEC. 7".

     On  Fridays, calendar  writes  all  lines containing  the
     dates for Friday, Saturday,  Sunday, and Monday.  It does
     not, however,  recognize holidays,  so "tomorrow"  is the
     holiday rather than the next working day.

     For  you to  get reminder  service, your  calendar should
     have read permission for others (see "chmod").

FLAG

     -  Calls calendar for everyone  having a file calendar in
        his home directory and sends any reminders by mail

EXAMPLE

     To display information in the calendar file that pertains
     to the next two business days:

       calendar

     A typical calendar file might look like this:

       */25 - Prepare monthly report
       Aug. 12 - Fly to Denver
       aug 23 - board meeting
       Martha out of town - 8/23, 8/24, 8/25
       8/24 - Mail car payment
       sat aug/25 - beach trip
       August 27 - Meet with Simmons
       August 28 - Meet with Wilson

     If today is Friday, August  24, then the calendar command
     displays:

       */25 - Prepare monthly report
       Martha out of town - 8/23, 8/24, 8/25
       8/24 - Mail car payment
       sat aug/25 - beach trip
       August 27 - Meet with Simmons

FILES

     $HOME/calendar
     /usr/lib/calprog    The program that determines dates.
     /etc/passwd         Used to identify users.
     /tmp/cal*           Temporary files.

RELATED INFORMATION

     The following commands:  "chmod" and "mail, Mail."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026