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

2023-06-12 Thread Denys Vlasenko
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

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

2023-06-04 Thread Aleksander Mazur
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