On Mon, Mar 15, 2021 at 1:32 PM Jamie Heilman
<ja...@audible.transient.net> wrote:
>
> fwiw, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850202

Yup, that seems to be the exact same thing from 4 years ago.

But it looks like nothing ever came out of it. It probably stayed
within the Debian bugzilla, and didn't go to upstream dash
maintainers.

It does look like dash is actually actively maintained, and it's even
a kernel maintainer that does it: Herbert Xu seems to maintain the
dash tree and I see commits from January.

So maybe we can get it fixed by just cc'ing Herbert.

Herbert, easy test-case:

    $ [ "!" = ".size" ]

works, but

    $ [ "!"  = ".size" -a "b" = ".LPBX0," ]

causes

    dash: 6: [: =: unexpected operator

because for some reason that "-a" ends up (wild handwaving here about
what is going on) re-parsing the first expression, and ignoring the
quoting around "!" when it does so.

I verified that the bug still exists in that current dash source tree,
but I didn't dig any deeper than that "wild handwaving guess" as to
what is actually going on.

                Linus

Reply via email to