aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin (Beber) <beber@setibzh.com>2006-02-28 16:20:55 +0100
committerJACQUIN Bertrand Ext ROSI/DPS <bjacquin.ext@francetelecom.com>2006-02-28 16:20:55 +0100
commit534ba6a6ccc0bb4065299592486506048d5ce4ad (patch)
treee471a8952efa3db3679c6944a735c8718967ebb7
parentDon't warnings :) (diff)
downloadespik-534ba6a6ccc0bb4065299592486506048d5ce4ad.tar.xz
Add a trailing white space detector script
-rwxr-xr-xsh/trail.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sh/trail.sh b/sh/trail.sh
new file mode 100755
index 0000000..719c0e2
--- /dev/null
+++ b/sh/trail.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+grep -Rn '^+.*[ ]$' $@