Penguin
Annotated edit history of ncal(1) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 ----
2 __NAME__
3
4
5 cal, ncal - displays a calendar and the date of
6 easter
7 __SYNOPSIS__
8
9
10 cal [[-jy] [[
11 [[month]
12 year
13 ]
14
15
16 ncal [[-jJpwy] [[-s country_code] [[ [[month]
17 year
18 ]ncal [[-Jeo] [[year]__DESCRIPTION__
19
20
21 Cal displays a simple calendar in traditional format and
22 ncal offers an alternative layout, more options and the date
23 of easter. The new format is a little cramped but it makes a
24 year fit on a 25x80 terminal. If arguments are not speci-
25 fied, the current month is displayed.
26
27
28 The options are as follows:
29 -J Display Julian Calendar, if combined with the -eoption, display date of easter according to theJulian Calendar.
30
31
2 perry 32 -eDisplay date of easter (for western churches).-jDisplay Julian days (days one-based, numbered fromJanuary 1).-oDisplay date of orthodox easter (Greek and !RussianOrthodox Churches).-pPrint the country codes and switching days fromJulian to Gregorian Calendar as they are assumed byncal. The country code as determined from the localenvironment is marked with an asterisk.-s country_codeAssume the switch from Julian to Gregorian Calendarat the date associated with the country_code. If notspecified, ncal tries to guess the switch date fromthe local environment or falls back to September 2,1752. This was when Great Britain and her coloniesswitched to the Gregorian Calendar.-wPrint the number of the week below each week column.-yDisplay a calendar for the current year.A single parameter specifies the year (1 - 9999) to be dis-played; note the year must be fully specified: ``cal 89'' will ''not'' display a calendar for 1989. Two parameters denote the month (1 - 12) and year.
1 perry 33
34
35 A year starts on Jan 1.
36
37
38 __SEE ALSO__
39
40
41 calendar(3), strftime(3)
42 __HISTORY__
43
44
45 A cal command appeared in v6 UNIX. The ncal command appeared
46 in FreeBSD 2.2.6.
47 __AUTHORS__
48
49
50 The ncal command and manual were written by Wolfgang Helbig
51 helbig@FreeBSD.org.
52 __BUGS__
53
54
55 The assignment of Julian - Gregorian switching dates to
56 country codes is historically naive for many
57 countries.
58
59
60 BSD December 16, 1997 1
61 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.