summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-10-23 10:00:56 +0000
committerStefan Eßer <se@FreeBSD.org>2020-10-23 10:00:56 +0000
commitc77b04884c194674fd1118df3ede99b3524556f5 (patch)
tree6c59c20f56fd6254a08a135373731065a2edb4d1 /usr.bin
parent34b38e1245edc730c4a5707cac2121780031770b (diff)
downloadsrc-test-c77b04884c194674fd1118df3ede99b3524556f5.tar.gz
src-test-c77b04884c194674fd1118df3ede99b3524556f5.zip
Udpate calendar man-page to mention the search path added in r366962.
Calendar files in /usr/lcoal/share/calendar take precedence over files in the base system. They can be provided by a port or package, but since such a port has not been committed, yet, no specific port name is suggested. In fact, multiple ports could exist (e.g. per locale) without conflicting with each other.
Notes
Notes: svn path=/head/; revision=366963
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/calendar/calendar.110
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/calendar/calendar.1 b/usr.bin/calendar/calendar.1
index b8a80494d84c5..b9c9be272a318 100644
--- a/usr.bin/calendar/calendar.1
+++ b/usr.bin/calendar/calendar.1
@@ -28,7 +28,7 @@
.\" @(#)calendar.1 8.1 (Berkeley) 6/29/93
.\" $FreeBSD$
.\"
-.Dd September 29, 2020
+.Dd Oktober 23, 2020
.Dt CALENDAR 1
.Os
.Sh NAME
@@ -245,8 +245,16 @@ A chdir is done into this directory if it exists.
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.
+.It Pa /usr/share/calendar
+system wide location of calendar files provided as part of the base system.
+.It Pa /usr/local/share/calendar
+system wide location for calendar files provided by a port or package.
.El
.Pp
+The order of precedence in searches for a calendar file is:
+current directory, ~/.calendar, /usr/local/share/calendar, /usr/share/calendar.
+Files of similar names are ignored in lower precedence locations.
+.Pp
The following default calendar files are provided in
.Pa /usr/share/calendar :
.Pp