On 29/05/2023 17:30, Paul Gevers wrote:
On 29-05-2023 12:02, Max Nikulin wrote:
Strictly speaking, behavior of circumflex is *unspecified* in POSIX:

... A bracket expression
    starting with an unquoted <circumflex> character produces unspecified
    results.

Right. Maybe better to say it now matches the other implementation (dash has two implementations and they were behaving differently).

I am unaware of another dash implementation. Do you mean ash from which dash was forked? I have checked https://en.wikipedia.org/wiki/Debian_Almquist_shell and noticed that busybox ash implementation was derived from dash, but the similar issue is still open in their tracker.

I would recommend users to check scripts by the "shellcheck" static analyzer, but I am unsure if such suggestion is suitable for release notes or for Debian news in the dash package.
https://www.shellcheck.net/wiki/SC3026

Reply via email to