On Wed, 27 Oct 2021 20:15:28 +1100
John Gardner <[email protected]> wrote:
> There's already a deprecation warning in-place warning users against
> relying on the existence of /bin/bash or the assumption that /bin/sh
> == /bin/bash.
Every so often I get a +10 bump on SO for my answer about writing a
portable shell script. The answer starts by changing the first line to
#! /bin/sh
because Posix says that shell has to be there. If Posix had a slogan,
surely it would be "Why mess around with anything else?". ;-)
--jkl