3 ms·
Oh god, it even says right there: > Warning: this utility is fake. Well played! I guess I got too excited at the possibility of such a tool existing.
by Timon3 2y ago
Oh god, it even says right there:
> Warning: this utility is fake.
Well played! I guess I got too excited at the possibility of such a tool existing.
- OJFord 2y agoSuch a tool does exist, it's called shellcheck. If you give /bin/sh shebang for example it will tell you off using non-POSIX features regardless of whether they'll work with the sh on your system. (Personally I typically use bash though, largely so I can `set -eEuo pipefail` next.)
- apgwoz 2y agoThe thought is very compelling! shellcheck is pretty great, but of course isn’t this complete. It definitely can’t reticulate splines, for instance.