News for hackers. Stuff that matters.
Re:The Bourne shell lets you set variables in if expressions by shawnz on Saturday May 15, 2021 @11:32AM (#27166102)
It replaced what they were using previously, which was bash. I am not saying that it is a superset of bash's functionality or that it should be expected to support bash features.

EDIT: I see what you are saying now. Bash is still installed by default despite it not being aliased to /bin/sh. So it's still possible to rely on bash features if you use it explicitly. For some reason I was under the impression bash had also been aliased to dash in the default installation. Thanks for the information.

Re:The Bourne shell lets you set variables in if expressions by ufo on Saturday May 15, 2021 @11:40AM (#27166178)
To be more precise, dash replaced /bin/sh. Ubuntu still includes bash in the default installation, IIRC.
Re:The Bourne shell lets you set variables in if expressions by throw0101a on Saturday May 15, 2021 @11:49AM (#27166275)
As does Debian.

There was a lot of gnashing of teeth when we upgraded to Debian 6 and people's (alleged) "/bin/sh" scripts broke. Most folks elected to simply change things to "/bin/bash".