From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id bc71702d for ; Thu, 16 Aug 2018 07:26:02 -0500 (EST) Date: Thu, 16 Aug 2018 07:26:02 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: process UTF-8 input even in ASCII output mode, and provide a way X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: Log Message: ----------- process UTF-8 input even in ASCII output mode, and provide a way to specify additional diff(1) options Modified Files: -------------- mandoc: gmdiff Revision Data ------------- Index: gmdiff =================================================================== RCS file: /home/cvs/mandoc/mandoc/gmdiff,v retrieving revision 1.10 retrieving revision 1.11 diff -Lgmdiff -Lgmdiff -u -p -r1.10 -r1.11 --- gmdiff +++ gmdiff @@ -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 @@ -51,7 +51,7 @@ while [ -n "$1" ]; do 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 -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv