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

Re: Possible?! A Debian public repository for all complex code lines with examples and scripts?



On Fri, Mar 26, 2021 at 10:59:20AM -0400, Dan Ritter wrote:
> To be completely clear, Debian did change sh from Bourne-ish sh
> to dash in Squeeze -- 2006 or so.

Squeeze was released in 2011.

Debian originally used bash as /bin/sh (as most Linux distributions did,
back in those days).  At some point, there was a desire to speed up
various parts of the system, especially booting, by using a leaner shell
as /bin/sh -- and thus, Debian switched to using dash rather than bash,
although it retains the option for the admin to switch back to bash,
for systems that need it (due to poorly-written local or third-party
scripts).

The change from bash to dash as the default /bin/sh happened in squeeze,
according to <https://en.wikipedia.org/wiki/Almquist_shell>.

At no point, to the best of my knowledge, did Debian *ever* use a
"Bourne-ish" shell as /bin/sh.  I'm not even sure whether Debian *has*
a Bourne-era compatible shell packaged, or ever did.  The original
Bourne shell is under a commercial copyright, and it's not common for
people to re-implement it, because of its extremely limited feature set
by today's standards.


Reply to: