1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
Description: Explain cal and make manpage understandable
Author: Michael Meskes <meskes@debian.org>
--- bsdmainutils/usr.bin/ncal/ncal.1 2020-08-04 14:05:25.074220261 +0200
+++ bsdmainutils/usr.bin/ncal/ncal.1 2020-08-04 14:05:59.662386394 +0200
@@ -56,7 +56,7 @@
.Ar year
.Oc
.Nm ncal
-.Op Fl 3hJeo
+.Op Fl Jeo
.Op Fl A Ar number
.Op Fl B Ar number
.Op Ar year
@@ -81,8 +81,8 @@
Turns off highlighting of today.
.It Fl J
Display Julian Calendar, if combined with the
-.Fl e
-option, display date of Easter according to the Julian Calendar.
+.Fl o
+option, display date of Orthodox Easter according to the Julian Calendar.
.It Fl e
Display date of Easter (for western churches).
.It Fl j
@@ -92,12 +92,11 @@
.Ar month .
If
.Ar month
-is specified as a decimal number, it may be followed by the letter
+is specified as a decimal number, appending
.Ql f
or
.Ql p
-to indicate the following or preceding month of that number,
-respectively.
+displays the same month of the following or previous year respectively.
.It Fl o
Display date of Orthodox Easter (Greek and Russian
Orthodox Churches).
@@ -206,6 +205,15 @@
.Nm ncal
command appeared in
.Fx 2.2.6 .
+The output of the
+.Nm cal
+command is supposed to be bit for bit compatible to the original Unix
+.Nm cal
+command, because its output is processed by other programs like CGI scripts,
+that should not be broken. Therefore it will always output 8 lines, even if
+only 7 contain data. This extra blank line also appears with the original
+.Nm cal
+command, at least on Solaris 8
.Sh AUTHORS
The
.Nm ncal
|