Better Bash Scripting in 15 Minutes. The tips and tricks below originally appeared as one of Google's "Testing on the Toilet" TOTT episodes. This is a revised and augmented version. via Robert Muth: Better Bash Scripting in 15 Minutes.
Some good bits in here. We've implemented some of them in devstack, and I think a few more (like uninitialized and enforcing double brackets on all conditionals) would be helpful. It also makes me think about things to enforce in bash8.
