A collection of common idioms for bash scripts