Hacker News new | ask | show | jobs
by kasabali 2084 days ago
> you’d have to call the script with A= just to check A wasn’t defined, and in the process now you have A assigned to an empty string

You have ${var:-} for doing that