How do I assign a value to a BASH variable iff that variable is null/unassigned/falsey?
50136
Using "${a:-b}" for variable assignment in scripts
62241
How do I set a variable to the output of a command in Bash?
80131
How can I assign a boolean condition result to a scalar variable in perl?
61814
What is the "eval" command in bash?
72878
Variables set in a bash 'while read' loop are unset after it
103604
Does bash recognize a variable declaration as string if you do not put the quotation marks?
158391
Most efficient way to check for DBNull and then assign to a variable?
16880
Create variables and assign values via loop (bash)
55925
Variable Syntax Error with Bash Script (Homework)
126341
Avoiding IF ELSE due to variable been NULL
25022
In bash, is it possible to use an integer variable in a brace expansion
156262
One step check for null value & emptiness of a string
119933
Can I use a variable in a Bash brace expansion?
110007
What is the difference between operator "=" and "==" in Bash?
57226
What is the syntax for IF/ELSE in bash?
71182
Bash if statement [: missing `]' error
91006
Why can I refer to a variable outside of an if/unless/case statement that never ran?