New script that detect files with mixed eol styles

This commit is contained in:
Laurent Rineau
2012-08-02 13:46:16 +00:00
parent 4c3e1c3138
commit 7eb193cc61
2 changed files with 4 additions and 0 deletions
@@ -0,0 +1,3 @@
#/bin/bash
grep -lE '[^'`printf '\r'`']$' $(ack -l "`printf '\r'`\$" ${@:-.})