Home | History | Annotate | Line # | Download | only in tools
ckspell revision 1.1
      1 #! /bin/sh
      2 set x $*
      3 . ./.param
      4 
      5 TOOLS=$MANDIR/tools
      6 
      7 date > $TMPDIR/sp.errs
      8 echo >> $TMPDIR/sp.errs
      9 
     10 for dir in $DIRLST
     11 do
     12 	cd $MANDIR/man$dir
     13 	echo "cat <<'EOF' >----------------" >> $TMPDIR/sp.errs
     14 	echo "Section $dir" >> $TMPDIR/sp.errs
     15 	for file in $FILLST
     16 	do
     17 		spell $file >> $TMPDIR/tmp.$$
     18 	done
     19 	sort $TMPDIR/tmp.$$ | uniq | comm -23 - $TOOLS/sp.ignore >> $TMPDIR/sp.errs
     20 	> $TMPDIR/tmp.$$
     21 done
     22 
     23 rm -f $TMPDIR/tmp.$$
     24