News for hackers. Stuff that matters.
Re:Which is not Posix by orhmeh09 on Monday November 01, 2021 @04:14PM (#29072402)
If Debian is perfectly fine with anti-POSIX, why go to the effort of making and switching to dash over bash? One of the impetuses for that project was bash’s inability to confirm to posix even when launched in posix mode. What’s that about?
Re:Which is not Posix by mjw1007 on Monday November 01, 2021 @05:16PM (#29073212)
As I understand it, the main motivations were speed and memory footprint. Might not matter too much on a desktop, but people also use Debian for smaller things like Freedombox.
Re:Which is not Posix by jbovlaste on Monday November 01, 2021 @04:56PM (#29073003)
Ubuntu made the switch to dash back in 2006 to decrease boot times, as dash is much faster than bash. This was upstreamed to Debian. POSIX compatibility made the transition easier (as most scripts were made to run on many Unix systems, not just Linux), but was not the motivation for the switch.

https://wiki.ubuntu.com/DashAsBinSh

Re:Which is not Posix by effie on Monday November 01, 2021 @06:57PM (#29074383)
Well Debian isn't some BDFL's project, different authors have different visions that sometimes don't agree with each other. With dash, the original advantages put forward were minimalism, higher speed, and POSIX compliance [1]. But that was a long time ago and when systemd came, the preference for dash may have changed for many Debian authors and maybe dash is just kept in Debian as a token of the past accomplishments.

[1] http://gondor.apana.org.au/~herbert/dash/

Re:Which is not Posix by marcosdumay on Monday November 01, 2021 @05:19PM (#29073259)
The main reason stated at the time was that dash was a much faster executable that would improve the performance on boot and all background tasks.