ncal.1 (e21dde7b1d57d9aee58c4e4e9810b56dfb72661c) | ncal.1 (ba29aec0d346e08258ee2c2ac5ab6f3250ed3b52) |
---|---|
1.\" Copyright (c) 1997 Wolfgang Helbig 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" $FreeBSD$ 26.\" 27.Dd October 23, 2005 28.Dt CAL 1 29.Os 30.Sh NAME 31.Nm cal , 32.Nm ncal | 1.\" Copyright (c) 1997 Wolfgang Helbig 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" $FreeBSD$ 26.\" 27.Dd October 23, 2005 28.Dt CAL 1 29.Os 30.Sh NAME 31.Nm cal , 32.Nm ncal |
33.Nd displays a calendar and the date of easter | 33.Nd displays a calendar and the date of Easter |
34.Sh SYNOPSIS 35.Nm 36.Op Fl jy 37.Oo 38.Op Ar month 39.Ar year 40.Oc 41.Nm --- 10 unchanged lines hidden (view full) --- 52.Nm ncal 53.Op Fl Jeo 54.Op Ar year 55.Sh DESCRIPTION 56The 57.Nm 58utility displays a simple calendar in traditional format and 59.Nm ncal | 34.Sh SYNOPSIS 35.Nm 36.Op Fl jy 37.Oo 38.Op Ar month 39.Ar year 40.Oc 41.Nm --- 10 unchanged lines hidden (view full) --- 52.Nm ncal 53.Op Fl Jeo 54.Op Ar year 55.Sh DESCRIPTION 56The 57.Nm 58utility displays a simple calendar in traditional format and 59.Nm ncal |
60offers an alternative layout, more options and the date of easter. | 60offers an alternative layout, more options and the date of Easter. |
61The new format is a little cramped but it makes a year fit 62on a 25x80 terminal. 63If arguments are not specified, 64the current month is displayed. 65.Pp 66The options are as follows: 67.Bl -tag -width indent 68.It Fl J 69Display Julian Calendar, if combined with the 70.Fl e | 61The new format is a little cramped but it makes a year fit 62on a 25x80 terminal. 63If arguments are not specified, 64the current month is displayed. 65.Pp 66The options are as follows: 67.Bl -tag -width indent 68.It Fl J 69Display Julian Calendar, if combined with the 70.Fl e |
71option, display date of easter according to the Julian Calendar. | 71option, display date of Easter according to the Julian Calendar. |
72.It Fl e | 72.It Fl e |
73Display date of easter (for western churches). | 73Display date of Easter (for western churches). |
74.It Fl j 75Display Julian days (days one-based, numbered from January 1). 76.It Fl m Ar month 77Display the specified 78.Ar month . | 74.It Fl j 75Display Julian days (days one-based, numbered from January 1). 76.It Fl m Ar month 77Display the specified 78.Ar month . |
79If 80.Ar month 81is specified as a decimal number, it may be followed by the letter 82.Ql f 83or 84.Ql p 85to indicate the following or preceding month of that number, 86respectively. |
|
79.It Fl o | 87.It Fl o |
80Display date of orthodox easter (Greek and Russian | 88Display date of Orthodox Easter (Greek and Russian |
81Orthodox Churches). 82.It Fl p 83Print the country codes and switching days from Julian to Gregorian 84Calendar as they are assumed by 85.Nm ncal . 86The country code as determined from the local environment is marked 87with an asterisk. 88.It Fl s Ar country_code --- 7 unchanged lines hidden (view full) --- 96This was when Great 97Britain and her colonies switched to the Gregorian Calendar. 98.It Fl w 99Print the number of the week below each week column. 100.It Fl y 101Display a calendar for the specified year. 102.El 103.Pp | 89Orthodox Churches). 90.It Fl p 91Print the country codes and switching days from Julian to Gregorian 92Calendar as they are assumed by 93.Nm ncal . 94The country code as determined from the local environment is marked 95with an asterisk. 96.It Fl s Ar country_code --- 7 unchanged lines hidden (view full) --- 104This was when Great 105Britain and her colonies switched to the Gregorian Calendar. 106.It Fl w 107Print the number of the week below each week column. 108.It Fl y 109Display a calendar for the specified year. 110.El 111.Pp |
104A single parameter specifies the year (1 - 9999) to be displayed; | 112A single parameter specifies the year (1\(en9999) to be displayed; |
105note the year must be fully specified: 106.Dq Li cal 89 107will 108.Em not 109display a calendar for 1989. 110Two parameters denote the month and year; the month is either a number between 1111 and 12, or a full or abbreviated name as specified by the current locale. 112Month and year default to those of the current system clock and time zone (so 113.Dq Li cal -m 8 114will display a calendar for the month of August in the current year). 115.Pp | 113note the year must be fully specified: 114.Dq Li cal 89 115will 116.Em not 117display a calendar for 1989. 118Two parameters denote the month and year; the month is either a number between 1191 and 12, or a full or abbreviated name as specified by the current locale. 120Month and year default to those of the current system clock and time zone (so 121.Dq Li cal -m 8 122will display a calendar for the month of August in the current year). 123.Pp |
116A year starts on Jan 1. | 124A year starts on January 1. |
117.Sh SEE ALSO 118.Xr calendar 3 , 119.Xr strftime 3 120.Sh HISTORY 121A 122.Nm 123command appeared in 124.At v5 . 125The 126.Nm ncal 127command appeared in 128.Fx 2.2.6 . 129.Sh AUTHORS 130The 131.Nm ncal 132command and manual were written by 133.An Wolfgang Helbig Aq helbig@FreeBSD.org . 134.Sh BUGS | 125.Sh SEE ALSO 126.Xr calendar 3 , 127.Xr strftime 3 128.Sh HISTORY 129A 130.Nm 131command appeared in 132.At v5 . 133The 134.Nm ncal 135command appeared in 136.Fx 2.2.6 . 137.Sh AUTHORS 138The 139.Nm ncal 140command and manual were written by 141.An Wolfgang Helbig Aq helbig@FreeBSD.org . 142.Sh BUGS |
135The assignment of Julian\(emGregorian switching dates to | 143The assignment of Julian\(enGregorian switching dates to |
136country codes is historically naive for many countries. 137.Pp 138The 139.Nm 140utility does not recognize multibyte characters. | 144country codes is historically naive for many countries. 145.Pp 146The 147.Nm 148utility does not recognize multibyte characters. |