Skip to content

Scripting

Finlay Maguire edited this page Nov 6, 2020 · 4 revisions

Scripting

Resources for improving scripting in bash, unix tools, python, and so on.

Bash

Key takeaways from this great guide:

  • Use set -ue -o pipefail at 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.

Awk

Clone this wiki locally