If you write #shell scripts a lot, you should have a look at Google's style guide: https://google.github.io/styleguide/shell.xml