Subject: CVS commit: basesrc/libexec/makewhatis
To: None <source-changes@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: source-changes
Date: 03/08/2002 23:59:08
Module Name: basesrc
Committed By: jdolecek
Date: Fri Mar 8 21:59:07 UTC 2002
Modified Files:
basesrc/libexec/makewhatis: Makefile makewhatis.8 makewhatis.c
Log Message:
If called without arguments, parse /etc/man.conf and regenerate the whatis
databases specified there. By default, the individual databases
are actually generated by forked children in this case, for
performance reasons. This feature can be switched off by new -f flag.
If the configuration file can't be parsed or doesn't contain any
_whatdb entries, the code falls back to /usr/share/man as before.
Added -C, which allows to specify alternate configuration file. This
is compatible with apropos(1) and whatis(1) flag of same name.
Update manpage accordingly and document behaviour a bit better.
Also add a HISTORY section, hopefully correct (done using CVS logs).
This solves toolchain/5231 by Tim Rightnour and bin/7696 by Allen Briggs.
To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 basesrc/libexec/makewhatis/Makefile
cvs rdiff -r1.6 -r1.7 basesrc/libexec/makewhatis/makewhatis.8
cvs rdiff -r1.22 -r1.23 basesrc/libexec/makewhatis/makewhatis.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.