Nate Bargmann <n...@n0nb.us> writes:

Thanks for your super complete and informative note.

> It is up to the script author/maintainer/distribution which shell to
> support.  Some distributions have their system shell scripts written
> with the #!/bin/bash shebang.  It is worth noting that beginning with
> Debian 12 (Bookworm) Bash can no longer be set as the system shell
> by running 'dpkg-reconfigure dash'.

It is up to the author, but I believe it is a bug to rely on non-POSIX
behavior at all.   It is certainly a bug to do so without a Big Scary
Warning just after the #! that states that the script is non-portable
and which features to use.

Its' great of Debian to be helping to root out these bugs.

(FWIW, I'm not in general a bash hater -- I use it as my login shell --
but I do vigorously object to non-portable scripts.   I use NetBSD which
has a almost-or-entirely POSIX-compliant sh without most bash
extensions.)

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/rmittrzfex0.fsf%40s1.lexort.com.

Reply via email to