delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/26/15:32:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 26 Sep 2000 15:26:48 -0400
To: Cygwin <cygwin AT sources DOT redhat DOT com>
Subject: Re: Has CR/LF and cat problem with textutils-2.0 been solved?
Message-ID: <20000926152648.A5079@cygnus.com>
Reply-To: cygwin AT sources DOT redhat DOT com
Mail-Followup-To: Cygwin <cygwin AT sources DOT redhat DOT com>
References: <17B78BDF120BD411B70100500422FC6309E10E AT IIS000>
Mime-Version: 1.0
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 AT bluesguitar DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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