4 ms·
Going to use this opportunity to spam ShellCheck, because it has historically saved me dozens of hours catching many silent Bash scripting errors and just makin
by scottLobster 4y ago
Going to use this opportunity to spam ShellCheck, because it has historically saved me dozens of hours catching many silent Bash scripting errors and just making my scripts more robust/warning me of obscure edge cases:
https://www.shellcheck.net/ https://www.shellcheck.net/
- bashonly 4y agoshellcheck is so good it's even worth installing the 100+ required haskell libraries
- rmadriz 4y agoIf you're on Arch, you could install `shellcheck-bin` from the AUR.
- justin_oaks 4y agoI've always just run it as a docker command. Here's what's listed on the github page [1]: docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable myscript [1] https://github.com/koalaman/shellcheck https://github.com/koalaman/shellcheck
- abdusco 4y agoJetbrains IDEs have a plugin called `Shell Script` that provides code assistance and warnings. It's also compatible with shellcheck too.