10 so=`line < $file | sed "s/ .*$//"`
15 grep ".*([1-9][cmsgxjvCMSGXJV]*)" $file >> $TMPDIR/cref$dir
24 ed - cref$dir >> lower.suf$dir <<!
25 g/ *\(([1-9][CMSGXJVcmsgxjv]*)\)/s//\1/
51 sort -i cref$dir | uniq > tmp.$$
54 sect=`echo $cref | sed "s/.*\.\(.\).*/\1/"`
55 try=`ls $MANDIR/man$sect/$cref 2>&1`
56 if test "$try" = "$MANDIR/man$sect/$cref"
60 echo $try | sed -e "s;$MANDIR/man..;;" -e "s; not found;;" >> badcref$dir