=================================================================== RCS file: /cvs/mandoc/gmdiff,v retrieving revision 1.10 retrieving revision 1.12 diff -u -p -r1.10 -r1.12 --- mandoc/gmdiff 2018/04/24 13:58:30 1.10 +++ mandoc/gmdiff 2025/06/26 17:04:44 1.12 @@ -36,7 +36,7 @@ elif [ "X$1" = "X-u" ]; then 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 @@ -45,13 +45,13 @@ while [ -n "$1" ]; do file=$1 shift echo " ========== $file ========== " - $ROFF -mandoc $file | $COLPIPE 2> /tmp/roff.err > /tmp/roff.out - ${MANDOC:=mandoc} $MOPT $file | $COLPIPE \ + ($ROFF -mandoc $file | $COLPIPE) 2> /tmp/roff.err > /tmp/roff.out + (${MANDOC:=mandoc} $MOPT $file | $COLPIPE) \ 2> /tmp/mandoc.err > /tmp/mandoc.out 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