summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-12-21 19:57:14 +0000
committermpp <mpp@FreeBSD.org>1996-12-21 19:57:14 +0000
commit29017ebe0b661a39ba1c45e482154df86877e9df (patch)
tree0be333f95a713ae5481272e5c7ecf93fe75d33b3 /usr.bin/calendar
parentbd8bd41e4dee8268f1f81dea257ccc747867dee4 (diff)
downloadFreeBSD-src-29017ebe0b661a39ba1c45e482154df86877e9df.zip
FreeBSD-src-29017ebe0b661a39ba1c45e482154df86877e9df.tar.gz
Grammar/spelling/style fixes.
2.2 candidate.
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/calendar.157
1 files changed, 24 insertions, 33 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index acc46ac..75e4dd0 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -63,27 +63,24 @@ Process the ``calendar'' files of all users and mail the results
to them.
This requires super-user privileges.
.It Fl A Ar num
-print lines from today and next
+Print lines from today and the next
.Ar num
-days (forward, future)
-
+days (forward, future).
.It Fl B Ar num
-print lines from today and previous
+Print lines from today and the previous
.Ar num
-days (backward, past)
+days (backward, past).
.It Fl f Pa calendarfile
-use
+Use
.Pa calendarfile
-as default calendar file.
-
+as the default calendar file.
.It Xo Fl t
.Sm off
.Ar dd
.Op . Ar mm Op . Ar year
.Sm on
.Xc
-for test purposes only: set date directly to argument values.
-
+For test purposes only: set date directly to argument values.
.El
.Pp
To handle calendars in your national code table you can specify
@@ -98,7 +95,7 @@ names in the calendars
Other lines should begin with a month and day.
They may be entered in almost any format, either numeric or as character
strings.
-If proper locale is set, national months and weekdays
+If the proper locale is set, national month and weekday
names can be used.
A single asterisk (``*'') matches every month.
A day without a month matches that day of every week.
@@ -106,21 +103,24 @@ A month without a day matches the first of that month.
Two numbers default to the month followed by the day.
Lines with leading tabs default to the last entered date, allowing
multiple line specifications for a single date.
-``Easter'', may be followed by an positive or negative integer, is
-Easter for this year.
-``Paskha'', may be followed by an positive or negative integer, is
-Orthodox Easter for this year.
-Weekdays may be followed by ``-4'' ... ``+5'' (aliases
+.Pp
+``Easter'', is Easter for this year, and may be followed by a positive
+or negative integer.
+.Pp
+``Paskha'', is Orthodox Easter for this year, and may be followed by a
+positive or negative integer.
+.Pp
+Weekdays may be followed by ``-4'' ... ``+5'' (aliases for
last, first, second, third, fourth) for moving events like
``the last Monday in April''
.Pp
By convention, dates followed by an asterisk are not fixed, i.e., change
from year to year.
.Pp
-Day description start after the first <tab> character in the line;
-if the line not contains <tab> character, it isn't printed out.
-If the first character in the line is a <tab> character, it is treated as
-continue of previous description.
+Day descriptions start after the first <tab> character in the line;
+if the line does not contain a <tab> character, it is not displayed.
+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 ,
@@ -160,26 +160,21 @@ Paskha\fB\et\fROrthodox Easter
.Ed
.Sh FILES
-
.Pp
.Bl -tag -width calendar.christian -compact
.It Pa calendar
file in current directory
-
.It Pa ~/.calendar
.Pa calendar
HOME directory.
.Nm calendar
does a chdir into this directory if it exists.
-
-
.It Pa ~/.calendar/calendar
calendar file to use if no calendar file exists in the current directory.
-
.It Pa ~/.calendar/nomail
do not send mail if this file exists.
.El
-
+.Pp
The following default calendar files are provided:
.Pp
.Bl -tag -width calendar.christian -compact
@@ -192,9 +187,9 @@ so that roving holidays are set correctly for the current year.
.It Pa calendar.computer
Days of special significance to computer people.
.It Pa calendar.history
-Everything else, mostly U. S. historical events.
+Everything else, mostly U.S. historical events.
.It Pa calendar.holiday
-Other holidays, including the not-well-known, obscure, and
+Other holidays, including the not-well-known, obscure, and
.Em really
obscure.
.It Pa calendar.judaic
@@ -208,19 +203,16 @@ Strongly oriented toward rock 'n' roll.
U.S. holidays.
This calendar should be updated yearly by the local system administrator
so that roving holidays are set correctly for the current year.
-
.It Pa calendar.german
German calendar.
-
.It Pa calendar.russian
Russian calendar.
-
.El
.Sh SEE ALSO
.Xr at 1 ,
.Xr cpp 1 ,
-.Xr cron 8
.Xr mail 1 ,
+.Xr cron 8
.Sh COMPATIBILITY
The
.Nm calendar
@@ -233,7 +225,6 @@ A
.Nm
command appeared in
.At v7 .
-
.Sh BUGS
.Nm Calendar
doesn't handle Jewish holidays and moon phases.
OpenPOWER on IntegriCloud