update manuscript
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Parameter Expansion
|
||||
# PARAMETER EXPANSION
|
||||
|
||||
## Indirection
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
| `${VAR-STRING}` | If `VAR` is unset, use `STRING` as it's value.
|
||||
| `${VAR:=STRING}` | If `VAR` is empty or unset, set the value of `VAR` to `STRING`.
|
||||
| `${VAR=STRING}` | If `VAR` is unset, set the value of `VAR` to `STRING`.
|
||||
| `${VAR:+STRING}` | If `VAR` isn't empty, use `STRING` as it's value.
|
||||
| `${VAR:+STRING}` | If `VAR` is not empty, use `STRING` as it's value.
|
||||
| `${VAR+STRING}` | If `VAR` is set, use `STRING` as it's value.
|
||||
| `${VAR:?STRING}` | Display an error if empty or unset.
|
||||
| `${VAR?STRING}` | Display an error if unset.
|
||||
|
||||
Reference in New Issue
Block a user