>> Is there a utility like a hex editor for cygwin that can check files for the
>> "\r" line endings?

> od can display the contents of a file (I like 'od -Ax -tcz').
> Or you can use 'file', which detects CRLF line endings in text files.
> Or go for broke and use hexl-mode of emacs.

Or

   grep -l "^M" <filelist>

(typed at the keyboard as ctrl-V ctrl-M). This might give you what you want ...

Fergus

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to