Mail Archives: djgpp/1998/02/18/12:14:19
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 -