Fixed in git.
Thank you.
On Sun, Jun 4, 2023 at 1:23 PM Aleksander Mazur 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
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