mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Fix typo, capitalize "ShellCheck"
@@ -14,7 +14,7 @@ read foo
|
|||||||
|
|
||||||
### Rationale:
|
### Rationale:
|
||||||
|
|
||||||
`read` takes a variable name, but shellcheck has noticed that you give it an expanded variable instead. This will populate whatever the variable expans to instead of the variable itself. For example:
|
`read` takes a variable name, but ShellCheck has noticed that you give it an expanded variable instead. This will populate whatever the variable expands to instead of the variable itself. For example:
|
||||||
|
|
||||||
foo=bar
|
foo=bar
|
||||||
read $foo # Reads data into 'bar', not into 'foo'
|
read $foo # Reads data into 'bar', not into 'foo'
|
||||||
|
Reference in New Issue
Block a user