mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1010 (markdown)
@@ -12,6 +12,6 @@
|
|||||||
|
|
||||||
`done` only works as a keyword when it's the first token of the command. If added after a command, it will just be the literal word "done".
|
`done` only works as a keyword when it's the first token of the command. If added after a command, it will just be the literal word "done".
|
||||||
|
|
||||||
### Contradictions
|
### Exceptions
|
||||||
|
|
||||||
If you're intentionally using `done` as a literal, you can quote it to make this clear to shellcheck and human readers, e.g. instead of `echo Task is done`, use `echo "Task is done"`.
|
If you're intentionally using `done` as a literal, you can quote it to make this clear to shellcheck and human readers, e.g. instead of `echo Task is done`, use `echo "Task is done"`.
|
Reference in New Issue
Block a user