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

2023-11-07 Thread Alexandre Ferrieux
On Tue, 7 Nov 2023 16:14:58 + patrick.a...@orange.com wrote: > > So it means that the kind of code below in anyone's script will have an opposite result depending on whether we use dash of the Bookworm version or dash of the Bullseye version and that this same command interpreted by Bash or

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

2023-11-07 Thread patrick . anat
Hi, On Thu, 13 Apr 2023 11:48:10 +0200 Paul Gevers wrote: > Control: clone -1 -2 > Control: reassign -2 release-notes > > 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

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]

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

2023-04-13 Thread Paul Gevers
Control: clone -1 -2 Control: reassign -2 release-notes 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. Paul OpenPGP_signature Description: OpenPGP digital

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

2023-04-12 Thread Santiago Ruano Rincón
Control: severity -1 important Hi! On Fri, 6 Jan 2023 12:31:47 +0100 =?utf-8?B?0L3QsNCx?= wrote: > Hi! > > On Fri, Jan 06, 2023 at 10:52:31AM +0100, Andrej Shadura wrote: > > On Thu, 5 Jan 2023, at 21:32, наб wrote: > > > Bisecting over the upstream git, I got > > > commit

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

2023-01-06 Thread наб
Hi! On Fri, Jan 06, 2023 at 10:52:31AM +0100, Andrej Shadura wrote: > On Thu, 5 Jan 2023, at 21:32, наб wrote: > > Bisecting over the upstream git, I got > > commit 8f9cca055bc661c4c690a5f5e1ca71370d129bc3 (HEAD, refs/bisect/bad) > > Author: Herbert Xu > > Date: Wed Jan 19 16:37:54 2022

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

2023-01-06 Thread Andrej Shadura
Hi, On Thu, 5 Jan 2023, at 21:32, наб wrote: > (I built 0.5.12-2 from the .dsc, > the binary packages don't appear to have propagated yet. > I also originally wrote this without knowing that glob > classes are negated by !, not ^. > s/correct/compatible/ and s/broken/incompatible/, i guess)

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

2023-01-05 Thread наб
Package: dash Version: 0.5.12-2 Version: 0.5.11+git20210903+057cd650a4ed-9 Severity: wishlist Dear Maintainer, (I built 0.5.12-2 from the .dsc, the binary packages don't appear to have propagated yet. I also originally wrote this without knowing that glob classes are negated by !, not ^.