[PATCH] shell: fix $(()) precedence bug in "X=A?B:C" (it is _not_ "(X=A)?..)"

Steffen Nurpmeso steffen at sdaoden.eu
Mon Sep 5 12:46:55 UTC 2022


Denys Vlasenko wrote in
 <CAK1hOcO5whb+rKErS-taZLA+_b6Fqu=D_eyPBWzO=h3=VwHC2g at mail.gmail.com>:
 |On Wed, Aug 31, 2022 at 1:35 AM Steffen Nurpmeso <steffen at sdaoden.eu> \
 |wrote:
 |>
 |> Denys Vlasenko wrote in
 |>  <CAK1hOcOU1R8PaxN26b5Pc_Ob-XoSrwNsEz1y888pujmfmDZgjw at mail.gmail.com>:
 |>|Your patches seem to be against dash, not busybox git tree?
 |>
 |> No?  I think dash uses a yacc thing..?  (That only supports the
 |> most basic things, as per POSIX, which is two steps back for
 |> busybox.  But smaller i presume.)
 |
 |The patches need to be against the git tree obtained via
 |    git clone https://git.busybox.net/busybox/
 |
 |Your patches are not.

Of course they are.

  [remote "origin"]
          url = git://git.busybox.net/busybox/
          fetch = +refs/heads/master:refs/remotes/origin/master

(I track it for many, many years, thus git:// not https://.  Hm,
changed.)  But if you are not interested, that is ok.
If you are, please use the v4 of the patch that i have sent.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)


More information about the busybox mailing list