www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/18/12:14:19

Date: Wed, 18 Feb 1998 19:12:26 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "John L. Spetz" <jls11 AT po DOT CWRU DOT Edu>
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: <Pine.SUN.3.91.980218190625.9672E-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019