Re: A good time to switch to dash as /bin/sh?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 ;).


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux