c
calendar(1) | calendar(1) |
NAME
calendar - reminder service
SYNOPSIS
calendar
DESCRIPTION
calendar consults the ®le calendar in the current directory and prints out lines containing today's or tomorrow's date anywhere in the line. On weekends, ``tomorrow'' extends through Monday.
When a -
calendar is concerned with two ®elds: month and day. A month ®eld can be expressed in three different
formats: a string representing the name of the month (either fully spelled out or abbreviated), a numeric month, or an asterisk (representing any month). If the month is expressed as a string representing the name of the month, the ®rst character can be either
If the month ®eld is a string, it can be followed by zero or more blanks. If the month ®eld is numeric, it must be followed by either a slash (/) or a hyphen
The day ®eld is expressed as a numeral. What follows the day ®eld is determined by the format of the month. If the month ®eld is a string, the day ®eld must be followed by zero or one dot (.) followed by zero or more blanks. If the month ®eld is a numeral, the day ®eld must be followed by either a slash (/) or a hyphen
EXTERNAL INFLUENCES
Environment Variables
LC_TIME determines the format and contents of date and time strings when no LANG statement is speci®ed in the calendar ®le.
LANG determines the language in which messages are displayed.
If LC_TIME is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default for each unspeci®ed or empty variable. If LANG is not speci®ed or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, calendar behaves as if all internationalization variables are set to "C". See environ(5).
International Code Set Support
Single- and
EXAMPLES
The following calendar ®le illustrates several formats recognized by calendar:
LANG=en_US.roman8
Friday, May 29th: group coffee meeting meeting with Boss on June 3.
3/30/87 - quarter end review
It is first of the month ( */1 ); status report due.
In the following calendar ®le, dates are expressed according to European English usage:
LANG=en_GB.roman8
On 20 Jan. code review
Section 1−58 | − 1 − |