Date: Wed, 18 Feb 1998 19:12:26 +0200 (IST) From: Eli Zaretskii To: "John L. Spetz" cc: djgpp AT delorie DOT com Subject: Re: DJGCC port of GREP has option -U but no opposite In-Reply-To: <6cdimq$br9$1@alexander.INS.CWRU.Edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 18 Feb 1998, John L. Spetz wrote: > What there is *not* is an option to force treatment of an > apparently binary file as DOS text. It is kind of annoying > when an otherwise pure text file has stray "binary" characters > and is then treated as a binary file. I don't see any problem to add such an option, if this situation can happen. At the time I ported Grep, it seemed like this should never be the case. > I wonder > if there could be an option -T alias --text which simply forces > the code that guesses whether a file is binary or text to > assume a file is text. I could provide a diff that does this, > I suppose, but would there be any chance of it being officially > adopted? Please post the patch both here and to gnu.utils.bug news group, so the maintainer of Grep will see your patch and add it to the next version. Grep already supports DJGPP in the official distribution, so I don't imagine your patch will be rejected.