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

2023-05-29 Thread Max Nikulin
On 29/05/2023 17:59, Paul Gevers wrote: On 29-05-2023 12:51, Max Nikulin wrote: I am unaware of another dash implementation. Do you mean ash from which dash was forked? No, I understood from Andrej that dash *internally* has two ways to do the matching. One embedded implementation, and one

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

2023-05-29 Thread Paul Gevers
Hi, On 29-05-2023 12:51, Max Nikulin wrote: I am unaware of another dash implementation. Do you mean ash from which dash was forked? No, I understood from Andrej that dash *internally* has two ways to do the matching. One embedded implementation, and one using system library calls. Which

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

2023-05-29 Thread Max Nikulin
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 character produces unspecified     results. Right. Maybe better to say it now

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

2023-05-29 Thread Paul Gevers
Hi, 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 character produces unspecified     results. Right. Maybe better to say it now matches the other implementation (dash has

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

2023-05-29 Thread Max Nikulin
On 29/05/2023 02:53, Paul Gevers wrote: Our (crafted with Andrej) proposal is here: https://salsa.debian.org/ddp-team/release-notes/-/merge_requests/181 from the diff: ... as a literal character, as was always the intended POSIX-compliant behavior. Strictly speaking,

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

2023-05-28 Thread Paul Gevers
Control: tags -1 pending patch Hi, 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. Our (crafted

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

2023-05-21 Thread Richard Lewis
On Fri, 06 Jan 2023 10:52:31 +0100 "Andrej Shadura" wrote: > On Thu, 5 Jan 2023, at 21:32, наб wrote: > > Please for the love of god add this to the NEWS. > > I /guarantee/ people are using '[^0-9]' to mean "not 0-9", > > and similar constructs, even if they are well-versed in the shell

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

2023-04-19 Thread Maxim Nikulin
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]