delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/13/13:47:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Jun 2005 13:46:46 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Shankar Unni <shankarunni AT netscape DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Making /bin/sh == bash. Has the time come?
In-Reply-To: <d8d7r1$ih6$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.61.0506131345180.19743@slinky.cs.nyu.edu>
References: <20050610150729 DOT GA13181 AT trixie DOT casa DOT cgf DOT cx> <d8d7r1$ih6$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

On Fri, 10 Jun 2005, Shankar Unni wrote:

> Christopher Faylor wrote:
>
> > So, in conversation with Corinna, I think that we're starting to lean
> > towards making /bin/sh == bash sometime soon.
>
> Excellent idea. And it even seems to handle the automatic switch to
> POSIX mode correctly when called "sh.exe".
>
> Talking of which, how good is "pdksh" these days?
>
> Using your "exec-expr-in-a-loop" microbenchmark (without the builtin),
> it seems to be nearly as fast as "ash" (within a few percent), and
> almost 1.5x as fast as bash (I got 20, 23 and 38 seconds for ash, pdksh
> and bash respectively). And for the "builtin" (using $((i+1))) loop,
> it's still nearly 4x as fast as bash (0.06 vs 0.23 seconds, or 0.25 vs
> 1.1 seconds for 10000 iterations).
>
> Is it stable enough (and well-enough maintained) to be considered for
> being "the shell"?

And just to clear up any confusion: pdksh *is* maintained (by me), and
it's been so stable that I hadn't had to do much with it except repackage
for the FHS change.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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