linux check file endings code example Example: windows check line ending of file find . -not -type d -exec file "{}" ";" | grep CRLF