Re: makewhatis problem
I had to twiddle/usr/sbin/makewhatis to get it to work. Bofore I
got it working, it did hang my system solid once. The three-finger
salute would not reboot it. I had to resort to the reset switch,
and fsck had some cleanup to do.
Here's the changes I ended up making:
*** makewhatis Tue Feb 8 21:12:04 1994
--- makewhatis.new Tue Feb 8 21:44:26 1994
***************
*** 29,35 ****
do
if [ -d $subdir ]
then
! for f in `find . -name '*' -print`
do
sed -n '/^\.TH.*$/p
/^\.SH[ ]*NAME/,/^\.SH/p' $f |\
--- 29,35 ----
do
if [ -d $subdir ]
then
! for f in `find $subdir -type f -name '*' -print`
do
sed -n '/^\.TH.*$/p
/^\.SH[ ]*NAME/,/^\.SH/p' $f |\
***************
*** 70,76 ****
}
}'
done
- cd ..
fi
done | sort | colrm 80 > $dir/whatis.db.tmp
mv $dir/whatis.db.tmp $dir/whatis
--- 70,75 ----
mitchell@mdd.comm.mot.com (Bill Mitchell)
Reply to: