Re: cygwin gnu grep thinks text files are binary

2002-02-22 Thread William F. Hammond
I tripped over this when a nul byte found its way into a printable text file. -- Bill -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ:

Re: cygwin gnu grep thinks text files are binary

2002-02-21 Thread Christopher Faylor
On Thu, Feb 21, 2002 at 08:12:36PM -0500, Paul McFerrin wrote: >There was a posting within this past month about grep considering files >to be binary if the newlines were followed by \r. I'm assumming that >someone made note of that bug. Hopefully someone will also make a note of the fact that g

Re: cygwin gnu grep thinks text files are binary

2002-02-21 Thread Paul McFerrin
There was a posting within this past month about grep considering files to be binary if the newlines were followed by \r. I'm assumming that someone made note of that bug. Just FYI, here is a filter I've written that removes \r from files. It also preserves mtime:: =

cygwin gnu grep thinks text files are binary

2002-02-21 Thread Benjamin Altman
Hello, I was trying to do a grep against some html files I got through wget in Cygwin with the repeated message "Binary file xxx.html matches". Since grep thinks they are binary files I don't get to see any of the lines contained. Would anyone know why this is happening and how to get around