From 1ffaad8b51547b5d6472c3bdb86c2b957c5db013 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 28 Feb 2019 09:04:30 +0100 Subject: convert.sh: be a little more verbose on errors --- convert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.sh b/convert.sh index 6d0482c..1269e97 100755 --- a/convert.sh +++ b/convert.sh @@ -107,7 +107,7 @@ fi | \ ' | \ while read -r a b dummy c; do if [ "${dummy}" != '|' ]; then - >&2 printf 'wrong dummy "%s"\n' "${dummy}" + >&2 printf 'wrong dummy "%s" in line:\n%s\n' "${dummy}" "${a} ${b} ${dummy} ${c}" exit 42 fi time=$( -- cgit v1.2.3-70-g09d2