Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Shankar Unni cc: cygwin AT cygwin DOT com Subject: Re: Making /bin/sh == bash. Has the time come? In-Reply-To: Message-ID: References: <20050610150729 DOT GA13181 AT trixie DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/