|
|
1.1 ! root 1: .\" Copyright (c) 1989, 1990 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 provided ! 8: .\" that: (1) source distributions retain this entire copyright notice and ! 9: .\" comment, and (2) distributions including binaries display the following ! 10: .\" acknowledgement: ``This product includes software developed by the ! 11: .\" University of California, Berkeley and its contributors'' in the ! 12: .\" documentation or other materials provided with the distribution and in ! 13: .\" all advertising materials mentioning features or use of this software. ! 14: .\" Neither the name of the University nor the names of its contributors may ! 15: .\" be used to endorse or promote products derived from this software without ! 16: .\" specific prior written permission. ! 17: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 18: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 19: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 20: .\" ! 21: .\" @(#)cal.1 6.7 (Berkeley) 7/24/90 ! 22: .\" ! 23: .Dd July 24, 1990 ! 24: .Dt CAL 1 ! 25: .Os BSD 4.4 ! 26: .Sh NAME ! 27: .Nm cal ! 28: .Nd displays a calendar ! 29: .Sh SYNOPSIS ! 30: .Nm cal ! 31: .Op Fl jy ! 32: .Op Ar month Op Ar year ! 33: .Sh DESCRIPTION ! 34: .Nm Cal ! 35: displays a simple calendar. ! 36: If arguments are not specified, ! 37: the current month is displayed. ! 38: The options are as follows: ! 39: .Tw Ds ! 40: .Tp Fl j ! 41: Display julian dates (days one-based, numbered from January 1). ! 42: .Tp Fl y ! 43: Display a calendar for the current year. ! 44: .Tp ! 45: .Pp ! 46: A single parameter specifies the year (1 - 9999) to be displayed; ! 47: note the year must be fully specified: ``cal 89'' will ! 48: .Em not ! 49: display a calendar for 1989. ! 50: Two parameters denote the month (1 - 12) and year. ! 51: If no parameters are specified, the current month's calendar is ! 52: displayed. ! 53: .Pp ! 54: A year starts on Jan 1. ! 55: .Pp ! 56: The Gregorian Reformation is assumed to have occurred ! 57: in 1972 on the 3rd of September. ! 58: By this time, most countries had recognized the reformation (although ! 59: a few did not recognize it until the early 1900's.) ! 60: Ten days following that date were eliminated by ! 61: the reformation, so the calendar for that month is a bit unusual. ! 62: .Sh HISTORY ! 63: A ! 64: .Nm ! 65: command appeared in Version 6 AT&T UNIX. The ! 66: .Nm ! 67: command this man page describes is ! 68: derived from code contributed by Kim Letkeman.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.