This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Making /bin/sh == bash. Has the time come?


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]