Commit | Line | Data |
---|---|---|
b9a1d8a4 KB |
1 | .\" Copyright (c) 1989 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
5 | .\" Kim Letkeman. | |
6 | .\" | |
7 | .\" Redistribution and use in source and binary forms are permitted | |
8 | .\" provided that the above copyright notice and this paragraph are | |
9 | .\" duplicated in all such forms and that any documentation, | |
10 | .\" advertising materials, and other materials related to such | |
11 | .\" distribution and use acknowledge that the software was developed | |
12 | .\" by the University of California, Berkeley. The name of the | |
13 | .\" University may not be used to endorse or promote products derived | |
14 | .\" from this software without specific prior written permission. | |
15 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
16 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
17 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
18 | .\" | |
97559f9e | 19 | .\" @(#)cal.1 6.5 (Berkeley) %G% |
2b6d75af | 20 | .\" |
626f6480 | 21 | .TH CAL 1 "" |
b9a1d8a4 | 22 | .UC 7 |
2b6d75af | 23 | .SH NAME |
b9a1d8a4 | 24 | cal \- displays a calendar |
2b6d75af KM |
25 | .SH SYNOPSIS |
26 | .B cal | |
97559f9e | 27 | [ -jy ] [[ |
b9a1d8a4 KB |
28 | .I month |
29 | ] | |
30 | .I year | |
31 | ] | |
2b6d75af KM |
32 | .SH DESCRIPTION |
33 | .I Cal | |
b9a1d8a4 | 34 | displays a calendar for a specified month and/or year. |
11fe6e56 KB |
35 | The options are as follows: |
36 | .TP | |
97559f9e KB |
37 | \-j |
38 | Display julian dates (days one-based, numbered from January 1). | |
39 | .TP | |
11fe6e56 KB |
40 | \-y |
41 | Display a calendar for the current year. | |
42 | .PP | |
b9a1d8a4 KB |
43 | A single parameter specifies the year (1 - 9999) to be displayed; |
44 | note the year must be fully specified: ``cal 89'' will | |
45 | .B not | |
46 | display a calendar for 1989. | |
47 | Two parameters denote the month (1 - 12) and year. | |
48 | If no parameters are specified, the current month's calendar is | |
49 | displayed. | |
50 | .PP | |
51 | A year starts on Jan 1. | |
2b6d75af | 52 | .PP |
b9a1d8a4 KB |
53 | The Gregorian Reformation is assumed to have occurred on 3 September |
54 | 1752. | |
55 | By this time, most countries had recognized the reformation (although | |
56 | a few did not recognize it until the early 1900's.) | |
57 | From 3 September 1752 through 13 September 1752 was eliminated by | |
58 | the reformation, so the calendar for that month is a bit unusual. |