6 ms·
I like this and could use something like it, but you should use POSIX sh (/bin/sh) and not rely on Bash in the shebang as well as non-portable functionality it
by git-pull 10y ago
I like this and could use something like it, but you should use POSIX sh (/bin/sh) and not rely on Bash in the shebang as well as non-portable functionality it introduces.
This wouldn't work out of the box on FreeBSD.
I recommend this tool: https://www.shellcheck.net/ https://www.shellcheck.net/