Has CR/LF and cat problem with textutils-2.0 been solved?

Chris Faylor cgf@cygnus.com
Tue Sep 26 12:27:00 GMT 2000


On Tue, Sep 26, 2000 at 07:59:27PM +0200, Bernard Dautrevaux wrote:
>> -----Original Message-----
>> From: Matthew Smith [ mailto:matts@bluesguitar.org ]
>> Sent: Tuesday, September 26, 2000 7:59 PM
>> To: Cygwin
>> Subject: Re: Has CR/LF and cat problem with textutils-2.0 been solved?
>> 
>> 
>> I would be interested in comments from the mailing list.  If 
>> people want
>> \r's stripped, I will implement the changes.
>
>	...
> 
>>>I think it is arguable whether cat should strip CRs or not.  It is not
>>>arguable whether bash's backtick handling should treat its input as
>>text mode.
>
>However *all* shells (and not only bash) *must* read the standard
>output of command expansion (backtick) in *text* mode, as it *does*
>expect text and is *not* willing to handle binary data there.

This was my point.  We fixed ash to do the right thing and I've been waiting
patiently for the bash maintainer to fix bash as well.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list