https://github.com/koalaman/shellcheck is a static analysis tool for shell scripts.
Attach a file by drag & drop or click to upload