3 ms·
I tend to check every script I write using shellcheck[0]. This will detect if a script starts with `#!/usr/bin/env sh` but uses bash or zsh features. Never had
by vbrandl 6y ago
I tend to check every script I write using shellcheck[0]. This will detect if a script starts with `#!/usr/bin/env sh` but uses bash or zsh features. Never had a problem an never thought much about it.
[0]: https://github.com/koalaman/shellcheck/ https://github.com/koalaman/shellcheck/