[OpenBIOS] Allow building on Mac OS X
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Thu Apr 16 20:31:00 CEST 2015
On 14/04/15 14:05, Lennart Sorensen wrote:
> On Tue, Apr 14, 2015 at 12:39:09AM -0400, Programmingkid wrote:
>> Come on people, switch to bash. It's better. What would we miss if we did switch to bash?
>
> bash is a better interactive shell. It is also _much_ slower at starting
> than dash, so as a shell for scripts, performance is noticeably better
> with dash as long as your scripts don't require bash features (most don't,
> but some legitimately do use some of bash's advanced features).
>
> Switching from bash to dash as /bin/sh knocked 15 seconds off the boot
> time of an embedded system I work on.
>
> But yes nothing wrong with using bash features as long as you explicitly
> state your script wants /bin/bash, not /bin/sh.
I would like to preserve the use of !/bin/sh where possible - I can't
get too excited about forcing a user to have a specific shell installed.
ATB,
Mark.
More information about the OpenBIOS
mailing list