Updated SC2209 (markdown)

koalaman
2017-04-15 10:50:24 -07:00
parent ee2d314c50
commit 03ff1b96cd

@@ -25,3 +25,7 @@ If you do want to assign a literal string, use quotes to make this clear to shel
### Exceptions:
None.
Quoting a single command (as in `PAGER="cat"` above) doesn't change how the script works. It's purely to show shellcheck (and humans) that a literal assignment of a command name is intentional.
This warning triggers generally when a variable is assigned an unquoted command name (from a list of hard coded names). See related warning [[SC2037]] which detects the same kind of error through the patterns `var=value -flag` and `var=value *glob*`.