On Sun, 09 Feb 2020 00:46:52 +0100, Joerg Jung wrote:

I'm fine with this.  However, it doesn't look like we document
/etc/locate.rc anywhere.  I'm not sure it deserves its own man page
but I think it should at least be documented in locate.updatedb
in some fashion.

 - todd

> Index: usr.bin/locate/locate/locate.updatedb.8
> ===================================================================
> RCS file: /cvs/src/usr.bin/locate/locate/locate.updatedb.8,v
> retrieving revision 1.18
> diff -u -p -r1.18 locate.updatedb.8
> --- usr.bin/locate/locate/locate.updatedb.8   10 Dec 2009 00:45:43 -0000
>       1.18
> +++ usr.bin/locate/locate/locate.updatedb.8   8 Feb 2020 23:44:41 -0000
> @@ -54,6 +54,7 @@ script.
>  The contents of the newly built database can be controlled by the
>  .Pa /etc/locate.rc
>  file as well as the command line arguments.
> +Command line arguments override rc file and defaults.
>  .Pp
>  The options are as follows:
>  .Bl -tag -width Ds
>

Reply via email to