#!/bin/sh
#
# Daily script
#
# Update the fast find database

/usr/gnu/lib/find/updatedb

# Rebuild the whatis database

/usr/local/lib/makewhatis -M /usr/man:/usr/gnu/man

rm -f /usr/gnu/man/whatis.dir /usr/gnu/man/whatis.pag
rm -f /usr/man/whatis.dir /usr/man/whatis.pag

# Remove formatted man pages

rm -f /usr/gnu/man/cat?/*.Z /usr/man/cat?/*.Z

# Take a backup of the directory tree

ls -R / > /u/users/jkp/notes/ls-R
