# cache.sh: create formated man page entries
set -x
C="/usr/spool/man/man"
S="/usr/man/man"
for section in 1 2 3 4 5 6 7 8 9
do
	cd $S$section
	for man in *.$section
	do
		if newer $man $C$section/$man
		then eval `doctype -n $man` >$C$section/$man
		fi
	done
done
