A shell parser, formatter, and interpreter. Supports POSIX Shell, Bash, and mksh
copied from cf-staging / go-shfmtshfmt is a simple, yet powerful, formatter for shell scripts. It supports multiple shell dialects such as: POSIX Shell, Bash & mksh. shfmt is also highly configurable and can format your code in several fashion & conventions, for example take a look at Google's bash styling: https://google.github.io/styleguide/shell.xml