Subject: update whatis.dbs - add to /etc/monthly - for your amusement
To: None <current-users@NetBSD.ORG, vax@linkdead.paranoia.com>
From: VaX#n8 <vax@linkdead.paranoia.com>
List: current-users
Date: 10/19/1996 15:24:41
echo ""
echo "Rebuilding whatis databases"
set -- $(grep "^_whatdb" /etc/man.conf)
# get rid of _whatdb entry
shift
for whatdb in "$@"; do
mandir=$(dirname "${whatdb}")
echo -n "${whatdb} "
if [ -f "${whatdb}" ]; then
echo /usr/libexec/makewhatis "${mandir}" | su -m bin
echo "done"
else
echo "not found"
fi
done