Assigning default values to shell variables with a single command in bash
$ bash default_vars.sh
The variable is: default
VARIABLE=test bash default_vars.sh
The variable is: test| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Assigning default values to shell variables with a single command in bash
$ bash default_vars.sh
The variable is: default
VARIABLE=test bash default_vars.sh
The variable is: test