El Mié 22 Ago 2007, treach escribió: [...]
Another, more debatable point is the use of a more standard adherent shell as the default, with the removal of bashisms from the rc scripts as an addon.
I've used dash quite successfully in the past for this, which is also used by debian/*buntu. It's a lot faster and smaller than bash, however, if used as /bin/sh it will trigger misbehaviour from broken software that assumes /bin/sh == /bin/bash. So far I've only heard of cdega having this issue though - I've come across nothing that complained so far myself (fwiw).
My vote is on removing bashisms from rc scripts, and to use #!/bin/bash in scripts that REQUIRE bash (eg: ldd). That way, if the user wants to replace /bin/sh with something else than bash, it will work right away. I couldn't care less if the default is to make /bin/sh = /bin/bash or any other shell that superseeds sh, after all, this is CRUX and people will change it to whatever they like best. I in particular change it to mksh. -- Alan