CALENDAR(1) General Commands Manual CALENDAR(1)

calendarreminder service (LEGACY)

calendar

The calendar utility consults the file calendar in the current directory and writes lines that contain today's or tomorrow's date anywhere in the line to standard output. On Fridays and weekends, tomorrow extends to the following Monday, inclusive.

None.

None.

Not used.

The calendar file in the current directory is a text file. Each line can contain text that includes a string, in any location, that is interpreted as today 's or tomorrow 's date. Month-day date formats such as Aug. 24 , august 24 and 8/24 are recognised.

The following environment variables may affect the execution of calendar :

Provide a default value for the internationalisation variables that are unset or null. If LANG is unset or null, the corresponding value from the implementation-dependent default locale will be used. If any of the internationalisation variables contains an invalid setting, the utility will behave as if none of the variables had been defined.
If set to a non-empty string value, override the values of all the other internationalisation variables.
Determine the locale for the interpretation of sequences of bytes of text data as characters (for example, single- as opposed to multi-byte characters in input files).
Determine the locale that should be used to affect the format and contents of diagnostic messages written to standard error.
Determine the format of the date strings recognised by the calendar utility.
Determine the location of message catalogues for the processing of LC_MESSAGES .
Determine the timezone used to qualify the date strings recognised by the calendar utility.

Default.

The standard output contains all of the selected lines from the calendar file.

Not used.

None.

None.

The following exit values are returned:

Successful completion.
An error occurred.

Default.

Some implementations support extensions that use operands. Portable applications must not use any operands to calendar .

None.

None.

None.

February 1997 posix.fail