[haiku-development] Re: Proposal : move away from bash

2010/8/13 pulkomandy <pulkomandy@xxxxxxxxxxxxxxxxx>

>
> I would like to switch to mksh [1]. This one compiles out of the box on
> Haiku. The sourcecode is a lot simpler, and it doesn't feature all the
> annoying utf-8 bugs that end up making your command line all borked.
>
> The binary is also about 4 times smaller for equivalent functionality.
>
> I did some tests and replaced bash in my Haiku install with mksh. The
> bootscript needed one change to the launch function, as mksh doesn't
> like "shift" when there is only one argument. I'm not sure this is a bug
> in mksh or a real difference between it and bash, as mksh aims for korn
> shell compatibility. This would be a move away from BeOS, but bash could
> still be provided as an optional package for people really needing it
> (and I don't think there is much BeOS software relying on bash being
> there).
>
>
I'm in a hurry so I'll be quick...
How is ksh compatibility with bash scripts, I would not introduce
compatibility problems (think about porting software that users autotools).
 Probably dash could be considered too.

http://en.wikipedia.org/wiki/Debian_Almquist_shell

-- 
Some companies die
Be's beauty lives forever
in immortal rhyme

Other related posts: