[Midnightbsd-cvs] src [11592] trunk/usr.bin/calendar/calendar.1: update man page
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jul 8 11:51:38 EDT 2018
Revision: 11592
http://svnweb.midnightbsd.org/src/?rev=11592
Author: laffer1
Date: 2018-07-08 11:51:37 -0400 (Sun, 08 Jul 2018)
Log Message:
-----------
update man page
Modified Paths:
--------------
trunk/usr.bin/calendar/calendar.1
Property Changed:
----------------
trunk/usr.bin/calendar/calendar.1
Modified: trunk/usr.bin/calendar/calendar.1
===================================================================
--- trunk/usr.bin/calendar/calendar.1 2018-07-08 15:51:24 UTC (rev 11591)
+++ trunk/usr.bin/calendar/calendar.1 2018-07-08 15:51:37 UTC (rev 11592)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" Copyright (c) 1989, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -26,7 +27,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)calendar.1 8.1 (Berkeley) 6/29/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/usr.bin/calendar/calendar.1 256051 2013-10-04 16:44:24Z joel $
.\"
.Dd April 6, 2013
.Dt CALENDAR 1
@@ -177,12 +178,15 @@
If the first character in the line is a <tab> character, it is treated as
a continuation of the previous line.
.Pp
-The ``calendar'' file is preprocessed by
-.Xr cpp 1 ,
-allowing the inclusion of shared files such as lists of company holidays or
-meetings.
+The
+.Nm
+file is preprocessed by a limited subset of
+.Xr cpp 1
+internally, allowing the inclusion of shared files such as
+lists of company holidays or meetings.
+This limited subset consists of \fB#include #ifndef #endif\fR and \fB#define\fR.
If the shared file is not referenced by a full pathname,
-.Xr cpp 1
+.Xr calendar 1
searches in the current (or home) directory first, and then in the
directory
.Pa /usr/share/calendar .
@@ -218,7 +222,7 @@
.Sh FILES
.Bl -tag -width calendar.christian -compact
.It Pa calendar
-file in current directory
+file in current directory.
.It Pa ~/.calendar
.Pa calendar
HOME directory.
@@ -313,7 +317,7 @@
The new and full moons are happening on the day indicated: They
might happen in the time period in the early night or in the late
evening.
-It doesn't indicate that they are starting in the night on that date.
+It does not indicate that they are starting in the night on that date.
.Pp
Because of minor differences between the output of the formulas
used and other sources on the Internet, Druids and Werewolves should
@@ -321,7 +325,11 @@
.Sh BUGS
The
.Nm
-utility does not handle Jewish holidays.
+internal cpp does not correctly do #ifndef and will discard the rest
+of the file if a #ifndef is triggered.
+It also has a maximum of 50 include file and/or 100 #defines
+and only recognises #include, #define and
+#ifndef.
.Pp
There is no possibility to properly specify the local position
needed for solar and lunar calculations.
Property changes on: trunk/usr.bin/calendar/calendar.1
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list