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.\" %sccs.include.redist.man% 8.\" 9.\" @(#)cal.1 6.6 (Berkeley) 06/11/90 10.\" 11.Dd 12.Dt CAL 1 13.Os BSD 4.4 14.Sh NAME 15.Nm cal 16.Nd displays a calendar 17.Sh SYNOPSIS 18.Nm cal 19.Op Fl jy 20.Op Ar month Op Ar year 21.Sh DESCRIPTION 22.Nm Cal 23displays a simple calendar. 24If no options or arguments are given, 25.Nm cal 26displays the current month. 27The options are as follows: 28.Tp Fl j 29Display julian dates (days one-based, numbered from January 1). 30.Tp Fl y 31Display a calendar for the current year. 32.Tp 33.Pp 34A single parameter specifies the year (1 - 9999) to be displayed; 35note the year must be fully specified: ``cal 89'' will 36.Em not 37display a calendar for 1989. 38Two parameters denote the month (1 - 12) and year. 39If no parameters are specified, the current month's calendar is 40displayed. 41.Pp 42A year starts on Jan 1. 43.Pp 44The Gregorian Reformation is assumed to have occurred on 3rd of September 45in 1752. 46By this time, most countries had recognized the reformation (although 47a few did not recognize it until the early 1900's.) 48Ten days following that date were eliminated by 49the reformation, so the calendar for that month is a bit unusual. 50.Sh HISTORY 51A 52.Nm 53command appeared in Version 6 AT&T UNIX. The 54.Nm 55command this man page describes is 56derived from code contributed by Kim Letkeman. 57