simonpj at microsoft.com
Thu May 12 09:45:18 CEST 2011
Does anyone know an easy way to list files that use windows line-endings?
All our GHC source trees are supposed to use Unix line endings, and we set Git's autrcrlf to 'false'; but it's all too easy to accientally commit a windows file. I want a command that says
and have it output
Of course I want to run it on a long list of filenames
find . -name '*hs' | xargs line-endings
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cvs-ghc