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
Date: Thu, 16 Aug 2018 07:26:02 -0500 (EST) [thread overview]
Message-ID: <c89f0642ecae83c1@fantadrom.bsd.lv> (raw)
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
reply other threads:[~2018-08-16 12:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c89f0642ecae83c1@fantadrom.bsd.lv \
--to=schwarze@mandoc.bsd.lv \
--cc=source@mandoc.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).