[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: hush: BUG in varexp2 when doing a=${a:+$a }a
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2023-06-12 14:42:15
Message-ID: CAK1hOcO5a7QKyyKxQwusCouBe_u+3GUdTXPb8K-Oq-TuVoKTKA () mail ! gmail ! com
[Download RAW message or body]

Fixed in git.
Thank you.

On Sun, Jun 4, 2023 at 1:23 PM Aleksander Mazur <deweloper@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@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic