source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: process UTF-8 input even in ASCII output mode, and provide a way
@ 2018-08-16 12:26 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-08-16 12:26 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-16 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16 12:26 mandoc: process UTF-8 input even in ASCII output mode, and provide a way schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).