mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated Sc2086 (markdown)
@@ -22,5 +22,5 @@ Just quoting this doesn't work. Instead, you should have used an array:
|
|||||||
options=(-j 5 -B)
|
options=(-j 5 -B)
|
||||||
make "${options[@]}" file
|
make "${options[@]}" file
|
||||||
|
|
||||||
To split on spaces but not perform glob expansion, Bash has a `set -f` to disable globbing.
|
To split on spaces but not perform glob expansion, Bash has a `set -f` to disable globbing. You can disable word splitting by setting IFS="".
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user