Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2020 10:00:56 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366963 - head/usr.bin/calendar
Message-ID:  <202010231000.09NA0uMJ060471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Fri Oct 23 10:00:56 2020
New Revision: 366963
URL: https://svnweb.freebsd.org/changeset/base/366963

Log:
  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.

Modified:
  head/usr.bin/calendar/calendar.1

Modified: head/usr.bin/calendar/calendar.1
==============================================================================
--- head/usr.bin/calendar/calendar.1	Fri Oct 23 09:22:23 2020	(r366962)
+++ head/usr.bin/calendar/calendar.1	Fri Oct 23 10:00:56 2020	(r366963)
@@ -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,7 +245,15 @@ 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 :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010231000.09NA0uMJ060471>