Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Chris Faylor <cgf@cygnus.com>
Date: Tue, 26 Sep 2000 15:26:48 -0400
To: Cygwin <cygwin@sources.redhat.com>
Subject: Re: Has CR/LF and cat problem with textutils-2.0 been solved?
Message-ID: <20000926152648.A5079@cygnus.com>
Reply-To: cygwin@sources.redhat.com
Mail-Followup-To: Cygwin <cygwin@sources.redhat.com>
References: <17B78BDF120BD411B70100500422FC6309E10E@IIS000>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.6i
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E10E@IIS000>; from Dautrevaux@microprocess.com on Tue, Sep 26, 2000 at 07:59:27PM +0200

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

