This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bogus assumption prevents d2u/u2d/conv/etal working on mixed files
- From: <fergus at bonhard dot uklinux dot net>
- To: <cygwin at cygwin dot com>
- Cc: <fergus at bonhard dot uklinux dot net>
- Date: Tue, 6 Apr 2004 14:09:46 +0100
- Subject: Re: Bogus assumption prevents d2u/u2d/conv/etal working on mixed files
- Reply-to: <fergus at bonhard dot uklinux dot net>
>> GNU grep detects binary files by looking for a '\0' byte.
I know this is not strictly Cygwin-specific but it _is_ generated by the
preceding relevant recent comment in a busy thread:
Please can you tell me how to grep for an ASCII 00 (and for that matter
anything from ASCII 1B to 1F, and 7F to FF)?
(Or, I suppose in general for any of 00-FF though there's a "^A - ^Z" chunk
at the beginning and a alphanumeric chunk in the middle, that are easily
found by direct means.)
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/