3 ms·
> I learned about `command -v` just now reading this article Me too and I'm sure we're not the only ones. But look at this quote from the article: > surely no
by IshKebab 5y ago
> I learned about `command -v` just now reading this article
Me too and I'm sure we're not the only ones. But look at this quote from the article:
> surely no one competent would choose to have a package depend on `which` when a standard POSIX utility can do a better job
This is an mind-bogglingly misguided attitude. Anyone that has never heard of an obscure POSIX command is incompetent? Or is it that really that most people don't want to spend their time writing awful shell scripts and figuring out exactly what is POSIX and what isn't?
- mindcrime 5y agoI'd also never heard of `command -v` until reading this article just now. But then I've only been using *nix systems for about 25 years.
- bxparks 5y agoI heard of 'command -v' once before years ago, then completely forgot about it until this article. I don't like it because it's harder to type and harder to remember (why the -v?). But I've only been using Unix for 37 years, so I'm not really competent.