No empty .Rs/.Re
[netbsd-mini2440.git] / share / man / tools / ckspell
blob443a305ebffac2d5f81e5a2b71f78e761fc2eb18
1 #! /bin/sh
3 # $NetBSD$
5 set x $*
6 . ./.param
8 TOOLS=$MANDIR/tools
10 date > $TMPDIR/sp.errs
11 echo >> $TMPDIR/sp.errs
13 for dir in $DIRLST
15 cd $MANDIR/man$dir
16 echo "cat <<'EOF' >----------------" >> $TMPDIR/sp.errs
17 echo "Section $dir" >> $TMPDIR/sp.errs
18 for file in $FILLST
20 spell $file >> $TMPDIR/tmp.$$
21 done
22 sort $TMPDIR/tmp.$$ | uniq | comm -23 - $TOOLS/sp.ignore >> $TMPDIR/sp.errs
23 > $TMPDIR/tmp.$$
24 done
26 rm -f $TMPDIR/tmp.$$