diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-02 12:43:52 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-02 12:43:52 +0000 |
commit | 341cc10aaf00ff009f89041f23ec4e6e6519285e (patch) | |
tree | 0ad44463871fa91a29a6e972367108bea912231b /gmdiff | |
parent | 70410dfcfd38b668debf911095b28861d93134f1 (diff) | |
download | mandoc-341cc10aaf00ff009f89041f23ec4e6e6519285e.tar.gz |
add about 15 missing character escape sequences found in groff_char(7);
triggered by multimedia/mkvtoolnix mkvmerge(1) using \(S2
Diffstat (limited to 'gmdiff')
-rw-r--r-- | gmdiff | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -29,17 +29,20 @@ if [ "X$1" = "X-h" ]; then EQN="neqn" ROFF="nroff" MOPT="-Omdoc $MOPT" +elif [ "X$1" = "X-u" ]; then + shift + ROFF="groff -ket -ww -Tutf8 -P -c" + MOPT="-Werror -Tutf8 $MOPT" else - EQN="eqn -Tascii" - ROFF="groff -ww -Tascii -P -c" + ROFF="groff -et -ww -Tascii -P -c" + MOPT="-Werror -Tascii $MOPT" fi -MOPT="-Werror -Tascii $MOPT" while [ -n "$1" ]; do file=$1 shift echo " ========== $file ========== " - tbl $file | $EQN | $ROFF -mandoc 2> /tmp/roff.err > /tmp/roff.out + $ROFF -mandoc $file 2> /tmp/roff.err > /tmp/roff.out ${MANDOC:=mandoc} -Ios='OpenBSD ports' $MOPT $file \ 2> /tmp/mandoc.err > /tmp/mandoc.out for i in roff mandoc; do |