Hello!

> Is there a T/F var expansion that does:
>  
>     var=${tst:+$yes}${tst:-$no}
> 
> but with yes/no in 1 expansion?

At least if you are only working with numbers you can use

((var=(tst!=0?42:31)))

But is this a question for bug-bash?

Best regards,

Martin

Reply via email to