[arch-general] A good time to switch to dash as /bin/sh?

Ralf Mardorf ralf.mardorf at rocketmail.com
Fri Sep 26 16:35:37 UTC 2014


On Fri, 2014-09-26 at 13:27 -0300, Hugo Osvaldo Barrera wrote:
> I strongly agree with this. Programs that ask for sh should get sh, and
> programs that ask for bash should get bash.
> 
> Programs that ask for bash and use bashisms are already broken for the Ubuntu
> family (ie: Ubuntu and derivates), and on any *BSD, and *need to be fixed
> upstream*!
> 
> I also remember having to port some scripts from BSD to Arch and seeing how
> they broke on bash because bash has non-sh behaviours.
> 
> Bash is not sh, and should not be treated as such. I've no issue with having
> bash in my system and that scripts with the proper shebang use it.

Too funny, off-list I wrote somebody and mentioned:

"[snip] I prefer dash over bash for compatibility reasons. My "main"
distro is Arch Linux, but I watch what's happening with other distros
(and FreeBSD). [snip] Btw. FreeBSD goes a completely different way ;)
[snip]"

I BCC the mail to this person ;).


More information about the arch-general mailing list