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
Message-ID: <17B78BDF120BD411B70100500422FC6309E10E@IIS000>
From: Bernard Dautrevaux <Dautrevaux@microprocess.com>
To: "'Matthew Smith'" <matts@bluesguitar.org>,
        Cygwin
	 <cygwin@sources.redhat.com>
Subject: RE: Has CR/LF and cat problem with textutils-2.0 been solved?
Date: Tue, 26 Sep 2000 19:59:27 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

> -----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.
> >
	...
> >
> > cgf
> >

I don't think cat should strip \r's on input; I quite often use cat to
concatenate binary data :-)

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.

The problem here is thus IMNSHO in cat but in the shell, so *please* don't
feed the cat with a new bug :-).

Regards,

		Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

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

