bashstyle provides absolutely agreeable guidelines and we should rewrite to conform:
https://github.com/progrium/bashstyle
possibly explore the encasing in "main" and declaring our global fns from within
- Always have a main function for runnable scripts, called with main or main "$@"
- If script is also usable as library, call it using [[ "$0" == "$BASH_SOURCE" ]] && main "$@"
bashstyle provides absolutely agreeable guidelines and we should rewrite to conform:
https://github.com/progrium/bashstyle
possibly explore the encasing in "main" and declaring our global fns from within