calendar(1)							  calendar(1)



NAME
  calendar - Writes reminder messages to standard output

SYNOPSIS

  calendar [-]

  The calendar command reads a file named calendar in your current (usually
  home) directory and writes to standard output any line in the file that
  contains the current date or the next day's date.

FLAGS

  -   Calls calendar for all users who have a calendar file in their home
      directories and sends reminders by mail.

DESCRIPTION

  The calendar command recognizes date formats such as Dec. 7 or 12/7.	It
  also recognizes the special character * (asterisk) to match any month.  For
  example, it interprets */7 or * 7 as the seventh day of every month.

  The LC_TIME variable, if it is defined, controls the spelling of month
  names, the day/month or month/day order, and the month/day separator
  character(s).

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

  For you to get reminder service when other users run calendar -, your
  calendar file must be readable by others (see the chmod command).

EXAMPLES

  To display information in the calendar file that pertains to today and
  tomorrow, enter:

       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
	     Contains user calendar entries.

  /usr/lbin/calprog
	     Determines dates.

  /etc/passwd
	     Contains user information.

RELATED INFORMATION

  Commands:  chmod(1), mail(1)/binmail(1), mail(1)/Mail(1).