delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/29/08:52:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E06F@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'AJ Reins'" <tbisp AT uswest DOT net>, cygwin AT sourceware DOT cygnus DOT com
Subject: RE: [ANNOUNCEMENT] Updated: ash-20000627
Date: Thu, 29 Jun 2000 14:47:55 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA23513

> -----Original Message-----
> From: AJ Reins [mailto:tbisp AT uswest DOT net]
> Sent: Thursday, June 29, 2000 6:32 AM
> To: cygwin AT sourceware DOT cygnus DOT com
> Subject: Re: [ANNOUNCEMENT] Updated: ash-20000627
> 
> 
> Dave Arnold wrote:
> > 
> > What is ASH? Is it the same as BASH?  I opened a bash shell 
> on my win95
> > install of cygwin and tried to find ash and couldn't find 
> it anywhere?
> > 
> > /dAVe
> 
> No, Bash and Ash are two seperate shells. Bash could be described as
> Ash on steroids. It is bigger and more complex, while Ash is small
> and fast. Two different outlooks on the same kind of program.
> 
> > 
> > >I've installed a new version of ash in 
> sourceware:/cygwin/latest/ash.
> > >
> > >Changes:
> > >
> > >- When evaluating stdout of backquote commands, it's read in
> > >  textmode to handle native windows commands in backquotes as
> > >  well.
> 
> I have not made this change to Bash, as this is controlled by 
> the CYGWIN
> environment variable setting to binmode to keep the carriage 
> returns or
> to nobinmode to remove them. This is of course an over-simplification
> of the actual reason, but I hope I have gotten my point across. If
> you, the user, want the stripping of the carriage returns, then it is
> YOUR responsibility to set the variable accordingly. See Earnie Boyd's
> site for more information, as Earnie has a much better way with words
> than I do.
> 
> Comments, flames, chocolate-chip cookies are all appreciated.
> ^^^^^^^^

Just one: back-quote substitution is used in TEXT context: it replace some
TEXT by some other TEXT; arguing it may be BINARY data is quite obscure to
me :-)

For me Corinna is perfectly correct by reading the output from the command
substitution in text mode regardless of the CYGWIN setting.

Regards,

	Bernard

PS: please don't understand this as a wish to start another TEXT vs BINARY
flame war; it's just a comment on a comment on something I agree with :-)

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
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 AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

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