4 ms·
Well the point is that it's a shell component, so it's not available from anything other than a shell which is undesirable. I understand Bourne style (POSIX) s
by throwaway09223 5y ago
Well the point is that it's a shell component, so it's not available from anything other than a shell which is undesirable.
I understand Bourne style (POSIX) shells have the vast majority of the market, but the point is breaking other environments. "command -v" is not available everywhere so it is not a viable replacement for /usr/bin/which.
- 22c 5y ago"which" is also not available everywhere, that's how I know about "command -v".