*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: calendar | Section: 1 | Source: Digital UNIX | File: calendar.1.gz
calendar(1) General Commands Manual calendar(1) NAME calendar - Writes reminder messages to standard output SYNOPSIS calendar [-] STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: calendar: XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. OPTIONS [DIGITAL] Calls calendar for all users who have a calendar file in their home directories and sends reminders by mail. This flag is usually used only by the superuser as part of daily administrative procedures. DESCRIPTION The calendar command reads a file named calendar in your current (usu- ally home) directory and writes to standard output any line in the file that contains the current date or the next day's date. 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. 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). NOTES The calendar utility is marked to be withdrawn from a future issue of the XPG4 and XPG4-UNIX standards. EXIT STATUS The following exit values are returned: Successful completion. An er- ror occurred. 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 Sim- mons August 28 - Meet with Wilson If today is Friday, August 24, then the calendar command dis- plays: */25 - Prepare monthly report Martha out of town - 8/23, 8/24, 8/25 8/24 - Mail car payment sat aug/25 - beach trip Au- gust 27 - Meet with Simmons ENVIRONMENT VARIABLES The following environment variables affect the execution of calendar: [DIGITAL] If this variable is set, the calendar command uses its value as the full pathname of a template file that contains format strings. The strings consist of field descriptors and text characters which are used to provide a more robust set of allowable date formats in differ- ent languages using the appropriate settings of the environment vari- ables LANG or LC_TIME. See environ(5) for more information. The list of allowable field descriptions is provided in the date(1) reference page. Provides a default value for the internationalization variables that are unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationaliza- tion variables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value, overrides the values of all the other internationalization vari- ables. Determines the locale for the interpretation of sequences of bytes of text data as characters (for example, single-byte as opposed to multibyte characters in input files). Determines the locale for the format and contents of diagnostic messages written to standard error. Determines the format of date strings recognized by the calendar com- mand. Determines the location of message catalogues for the processing of LC_MESSAGES. FILES Contains user calendar entries. Determines dates. Contains user in- formation. SEE ALSO Commands: chmod(1), date(1), mail(1), mailx(1) Environment: environ(5) Standards: standards(5) calendar(1)

Navigation Options