diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-06-11 14:08:20 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-06-13 13:49:39 +0100 |
commit | e60dd6edeafc2e38ec7feee2f9767884c6f22f73 (patch) | |
tree | 14a0464a1f48d36293ed3dbf6201798ebaeafc2d | |
parent | d7b214f766a930e3d32afe1246ba24c86e3ba86d (diff) | |
download | morph-e60dd6edeafc2e38ec7feee2f9767884c6f22f73.tar.gz |
check: print lines that are too long
-rwxr-xr-x | check | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ then if awk 'length > 79' "$x" | grep . > /dev/null then echo "ERROR: $x has lines longer than 79 chars" 1>&2 + awk 'length > 79 { print NR, $0 }' "$x" 1>&2 errors=1 fi ;; |