Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 3rd Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CALENDAR(1)

NAME

calendar − print upcoming events

SYNOPSIS

­calendar [ ­−y ] [ ­file ...  ]

DESCRIPTION

­Calendar reads the named files, default /usr/$user/lib/calendar, and writes to standard output any lines containing today’s or tomorrow’s date.  Examples of recognized date formats are "4/11", "April 11", "Apr 11", "11 April", and "11 Apr".  All comparisons are case insensitive. 

If the ­−y flag is given, an attempt is made to match on year too.  In this case, dates of the forms listed above will be accepted if they are followed by the current year (or last two digits thereof) or not a year — digits not followed by white space or non-digits. 

On Friday and Saturday, events through Monday are printed. 

To have your calendar mailed to you every day, use cron(8).

FILES

­/usr/$user/lib/calendar
personal calendar

SOURCE

­/sys/src/cmd/calendar.c

Plan 9  —  March 27, 2001

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