Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

shellcheck throws a lint error if it finds you using which and tells you to use 'command -v' instead.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: