bash:shellcheck
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bash:shellcheck [2016/10/17 14:32] – peter | bash:shellcheck [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
[[https:// | [[https:// | ||
Line 13: | Line 13: | ||
rm -rf " | rm -rf " | ||
</ | </ | ||
+ | |||
+ | ---- | ||
===== More Bad Code Examples ===== | ===== More Bad Code Examples ===== | ||
==== Common beginner' | ==== Common beginner' | ||
+ | |||
+ | ShellCheck recognizes many common beginner' | ||
<code bash> | <code bash> | ||
Line 26: | Line 30: | ||
var=(1, 2, 3) # Comma separated arrays. | var=(1, 2, 3) # Comma separated arrays. | ||
</ | </ | ||
+ | |||
+ | ---- | ||
==== Style ==== | ==== Style ==== | ||
Line 69: | Line 75: | ||
| | ||
It is recommended to enforce a daily Shell Code Check! | It is recommended to enforce a daily Shell Code Check! | ||
+ |
bash/shellcheck.1476714729.txt.gz · Last modified: 2020/07/15 09:30 (external edit)