diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-06-11 12:58:15 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-06-13 13:49:39 +0100 |
commit | d7b214f766a930e3d32afe1246ba24c86e3ba86d (patch) | |
tree | 91e7bc8f65588345b785483528a678f3ecfa3294 | |
parent | daf0a9be627f77af6a1a0d48fd1a882f9f4992e0 (diff) | |
download | morph-d7b214f766a930e3d32afe1246ba24c86e3ba86d.tar.gz |
check: if tabs are encountered, print the lines
-rwxr-xr-x | check | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |