mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC2016 (markdown)
@@ -16,6 +16,10 @@ Single quotes prevent expansion of everything, including variables and command s
|
|||||||
|
|
||||||
If you want to use the values of variables and such, use double quotes instead.
|
If you want to use the values of variables and such, use double quotes instead.
|
||||||
|
|
||||||
|
Note that if you have other items that needs single quoting, you can use both in a single word:
|
||||||
|
|
||||||
|
echo '$1 USD is '"$rate GBP"
|
||||||
|
|
||||||
### Exceptions
|
### Exceptions
|
||||||
|
|
||||||
If you want `$stuff` to be a literal dollar sign followed by the characters "stuff", you can ignore this message.
|
If you want `$stuff` to be a literal dollar sign followed by the characters "stuff", you can ignore this message.
|
||||||
|
Reference in New Issue
Block a user