Hacker News new | ask | show | jobs
by nonameiguess 1696 days ago
shellcheck throws a lint error if it finds you using which and tells you to use 'command -v' instead.
2 comments

Thank you for reminding me about this neat tool, it saved my ass a couple of times.
I just tried it on the shellcheck site. It didn't flag it.