-
Notifications
You must be signed in to change notification settings - Fork 2
Scripting
Finlay Maguire edited this page Nov 6, 2020
·
4 revisions
Resources for improving scripting in bash, unix tools, python, and so on.
Key takeaways from this great guide:
-
Use
set -ue -o pipefailat top of script, means errors, errors in pipes, or unused variables will cause the script to fail. See here for more details. -
Use shellcheck to prevent common bash gotchas.