gnu-which

Install command:
brew install gnu-which

GNU implementation of which utility

https://savannah.gnu.org/projects/which/

License: GPL-3.0-or-later

/api/formula/gnu-which.json (JSON API)

/api/bottle/gnu-which.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
high sierra
sierra
64-bit linux
Apple Silicon big sur

Current versions:

stable 2.21
GNU "which" has been installed as "gwhich".
If you need to use it as "which", you can add a "gnubin" directory
to your PATH from your bashrc like:

     PATH="$(brew --prefix)/opt/gnu-which/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
gnu-which 604
Installs on Request (30 days)
gnu-which 426
Build Errors (30 days)
gnu-which 0
Installs (90 days)
gnu-which 1,656
Installs on Request (90 days)
gnu-which 1,125
Installs (365 days)
gnu-which 5,789
Installs on Request (365 days)
gnu-which 4,258
Fork me on GitHub