In Java, we have Javadoc and some different styles when programming. In Python, there's pep8.I'm creating some bash scripts for my own use, and would like to know from you, experienced bash users, if there's some kind of pattern like indentation, documentation for functions, etc. A book or a website with some references.
Is there some kind of patterns when coding bash scripts?
bash;documentation
An excellent answer to this question can be found here: design patterns or best practices for shell scripts