No empty .Rs/.Re
[netbsd-mini2440.git] / share / man / tools / mroff
blobf2f071fe5d345a29833a51603a0c2488043450bd
1 set x $*
2 . ./.param
4 for dir in $DIRLST
5 do
6         date > $TMPDIR/mlog$dir
7         echo >> $TMPDIR/mlog$dir
8         cd $MANDIR/man$dir
9         for file in $FILLST
10         do
11                 so=`line < $file | sed "s/ .*//"`
12                 if test "$so" = ".so"
13                 then
14                         echo "$file: .so link -- ignored" >> $TMPDIR/mlog$dir
15                         continue
16                 fi
17                 echo "$file:" >> $TMPDIR/mlog$dir
18                 file=`echo $file | sed "s/\..\{1,2\}\$//"`
19                 if test -z "$PFLAG"
20                 then
21                         man -t $dir $file
22                 else
23                         man -s $dir $file
24                 fi
25         done
26 done