summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-11 14:08:20 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-13 13:49:39 +0100
commite60dd6edeafc2e38ec7feee2f9767884c6f22f73 (patch)
tree14a0464a1f48d36293ed3dbf6201798ebaeafc2d /check
parentd7b214f766a930e3d32afe1246ba24c86e3ba86d (diff)
downloadmorph-e60dd6edeafc2e38ec7feee2f9767884c6f22f73.tar.gz
check: print lines that are too long
Diffstat (limited to 'check')
-rwxr-xr-xcheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/check b/check
index 19c62d6b..660c8cf4 100755
--- a/check
+++ b/check
@@ -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
;;