hush: BUG in varexp2 when doing a=${a:+$a }a

Denys Vlasenko vda.linux at googlemail.com
Mon Jun 12 14:42:15 UTC 2023


Fixed in git.
Thank you.

On Sun, Jun 4, 2023 at 1:23 PM Aleksander Mazur <deweloper at wp.pl> wrote:
>
> Hi,
>
> hush aborts when doing mentioned parameter substitution.
> (Fortunately it works fine when double-quoted.)
>
> $ ./hush
>
>
> BusyBox v1.37.0.git (2023-06-04 12:42:18 CEST) hush - the humble shell
> Enter 'help' for a list of built-in commands.
>
> /tmp $ a=${a:+$a }a
> /tmp $ echo $a
> a
> /tmp $ a=${a:+$a }a
> hush: BUG in varexp2
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list