[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 Thu, 13 Apr 2023 11:48:10 +0200 Paul Gevers wrote:
On 12-04-2023 16:57, Santiago Ruano Rincón wrote:
> If the current behaviour
> would be part of bookworm, a NEWS entry would be great.

And a release note would be worth it too I guess.

Shellcheck static analyzer detects the issue with [^c] for pattern matching. I think, it may be recommended for installation https://packages.debian.org/bookworm/shellcheck or as an online tool https://www.shellcheck.net/

The warning concerning globs recommends to visit the following page:

https://www.shellcheck.net/wiki/SC3026
SC3026 In POSIX sh, ^ in place of ! in glob bracket expressions is undefined.


Reply to: