This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Has CR/LF and cat problem with textutils-2.0 been solved?
- To: Cygwin <cygwin at sources dot redhat dot com>
- Subject: Re: Has CR/LF and cat problem with textutils-2.0 been solved?
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Tue, 26 Sep 2000 15:26:48 -0400
- References: <17B78BDF120BD411B70100500422FC6309E10E@IIS000>
- Reply-To: cygwin at sources dot redhat dot com
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