and provide a way to specify additional diff(1) options
MOPT="-Ios=OpenBSD -Wall -Tutf8 $MOPT"
COLPIPE="cat"
else
- ROFF="groff -et -ww -mtty-char -Tascii -P -c"
+ ROFF="groff -ket -ww -mtty-char -Tascii -P -c"
MOPT="-Ios=OpenBSD -Wall -Tascii $MOPT"
COLPIPE="cat"
fi
for i in roff mandoc; do
[ -s /tmp/$i.err ] && echo "$i errors:" && cat /tmp/$i.err
done
- diff -au /tmp/roff.out /tmp/mandoc.out 2>&1
+ diff -au $DIFFOPT /tmp/roff.out /tmp/mandoc.out 2>&1
done
exit 0