mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Space title to generate shellcheck.net/wiki page properly
@@ -21,6 +21,7 @@ Using `:?` will cause the command to fail if the variable is null or unset. Simi
|
|||||||
In the case command substitution, assign to a variable first and then use `:?`. This is relevant even if the command seems simple and obviously correct, since forks and execs can fail due to external system limits and conditions, resulting in a blank substitution.
|
In the case command substitution, assign to a variable first and then use `:?`. This is relevant even if the command seems simple and obviously correct, since forks and execs can fail due to external system limits and conditions, resulting in a blank substitution.
|
||||||
|
|
||||||
For more details about `:?` see the "Parameter Expansion" section of the Bash man page.
|
For more details about `:?` see the "Parameter Expansion" section of the Bash man page.
|
||||||
|
|
||||||
### Exceptions:
|
### Exceptions:
|
||||||
|
|
||||||
None.
|
None.
|
||||||
|
Reference in New Issue
Block a user