-
-
Notifications
You must be signed in to change notification settings - Fork 102
Programming: Shell scripts
Joshua Newton edited this page Apr 25, 2021
·
1 revision
Bash/shell scripting can often feel unfriendly compared to Python, as there are a lot of subtle "gotchas" and arcane syntax tricks. To prevent bugs, and to avoid writing potentially unsafe scripts, be sure to run shellcheck
on your changes.
Shellcheck can also be integrated into JetBrains IDEs (PyCharm, etc.) using the Shell scripts plugin.
Shellcheck also provides a very detailed Wiki, with documentation for each check, so you can look up examples and rationale for each warning or error.
Editing the Wiki? If you're adding a new page or changing a title, be sure it fits the existing Wiki Structure.