For all of you out there writing millions and millions of shell scripts to glue the world together, here’s a useful Shell Style Guide from Google. It is very Bash-centric and covers all the usual bits and pieces: comments, formatting, naming conventions, allowed features and recommended best practices.