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

Bug#1034344: Bug#1028002: dash: sid dash globs no longer allow [^...] to negate a class; upcoming breaking change from bullseye



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 to: