From d4f22904a2c95e6e37afb6ff6303673a185d3595 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 6 Feb 2017 03:48:33 +0000 Subject: explicitly pass -Tascii to mandoc(1), such that LC_CTYPE does not get into the way, and fix the usage() while here --- gmdiff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gmdiff b/gmdiff index 8d24fa76..278ce749 100644 --- a/gmdiff +++ b/gmdiff @@ -19,7 +19,7 @@ if [ `id -u` -eq 0 ]; then fi if [ $# -eq 0 ]; then - echo "usage: $0 -h manual_source_file ..." + echo "usage: $0 [-h] manual_source_file ..." exit 1 fi @@ -33,7 +33,7 @@ else EQN="eqn -Tascii" ROFF="groff -ww -Tascii -P -c" fi -MOPT="-Werror $MOPT" +MOPT="-Werror -Tascii $MOPT" while [ -n "$1" ]; do file=$1 -- cgit v1.2.3