Closed thesamesam closed 3 weeks ago
which is an external command which isn't required by POSIX.
which
Debian and other distributions (like Gentoo!) are looking to drop it from their base set of packages.
Switch to command -v which is, however, POSIX. See https://lwn.net/Articles/874049/.
command -v
Wow, that is a lot of arguing about a command that, as the article puts it 'has long been baked into muscle memory' for a lot of users.
which
is an external command which isn't required by POSIX.Debian and other distributions (like Gentoo!) are looking to drop it from their base set of packages.
Switch to
command -v
which is, however, POSIX. See https://lwn.net/Articles/874049/.