* Christoph Berg <christoph.b...@credativ.de>, 2016-02-04, 13:42:
I think test -x is a legitimate use case here, and using "which" instead would just mean using a Debian-specific tool,
FWIW, which(1) is not Debian-specific. It exists on BSDs[0], and non-Debian Linux distros are likely to have GNU which[1] installed.
[0] OpenBSD manpage says "A which command first appeared in 3.0BSD." [1] https://savannah.gnu.org/projects/which/ -- Jakub Wilk