1#! /bin/sh 2# 3# $NetBSD: ckspell,v 1.2 1998/01/09 08:04:59 perry Exp $ 4# 5set x $* 6. ./.param 7 8TOOLS=$MANDIR/tools 9 10date > $TMPDIR/sp.errs 11echo >> $TMPDIR/sp.errs 12 13for dir in $DIRLST 14do 15 cd $MANDIR/man$dir 16 echo "cat <<'EOF' >----------------" >> $TMPDIR/sp.errs 17 echo "Section $dir" >> $TMPDIR/sp.errs 18 for file in $FILLST 19 do 20 spell $file >> $TMPDIR/tmp.$$ 21 done 22 sort $TMPDIR/tmp.$$ | uniq | comm -23 - $TOOLS/sp.ignore >> $TMPDIR/sp.errs 23 > $TMPDIR/tmp.$$ 24done 25 26rm -f $TMPDIR/tmp.$$ 27