Autoformat shell script source code with consistent style
Autoformat shell script source code
shfmt
$ shfmt -i 2 -w script.sh
$ shfmt -i 4 script.sh
$ shfmt -i 2 -w -s $(find . -name '*.sh')