summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-11 12:58:15 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-13 13:49:39 +0100
commitd7b214f766a930e3d32afe1246ba24c86e3ba86d (patch)
tree91e7bc8f65588345b785483528a678f3ecfa3294 /check
parentdaf0a9be627f77af6a1a0d48fd1a882f9f4992e0 (diff)
downloadmorph-d7b214f766a930e3d32afe1246ba24c86e3ba86d.tar.gz
check: if tabs are encountered, print the lines
Diffstat (limited to 'check')
-rwxr-xr-xcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/check b/check
index f93599b1..19c62d6b 100755
--- a/check
+++ b/check
@@ -42,6 +42,7 @@ then
if tr -cd '\t' < "$x" | grep . > /dev/null
then
echo "ERROR: $x contains TAB characters" 1>&2
+ grep -n -F "$(printf "\t")" "$x" 1>&2
errors=1
fi