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 | 4fb5f978142125c75113b626a0f51d5ce1a347ed (patch) | |
tree | c917d25f6b5b62265c99582f17543216052837ab /gmdiff | |
parent | 41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be (diff) | |
download | mandoc-4fb5f978142125c75113b626a0f51d5ce1a347ed.tar.gz mandoc-4fb5f978142125c75113b626a0f51d5ce1a347ed.tar.zst mandoc-4fb5f978142125c75113b626a0f51d5ce1a347ed.zip |
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 |