Here’s a favorite talk I gave covering techniques for writing robust bash scripts.

Thank you to Jonathan Glass and Michael Imamura for pointing out that there’s a tool, ShellCheck[1] , that automates many useful checks. ShellCheck reminds me of traditional lint - a little pedantic, and no replacement for understanding, but still quite useful!

Notes

[1] http://www.shellcheck.net/