Message340357
which(1) is not standardized, and there are many[*] implementations with different behavior in corner cases. For example, this happens with zsh 5.7.1 on Debian:
% which python
/usr/bin/python
% PATH= which python
python
% PATH=. which python
./python
% PATH=: which python
python
[*] I'm aware of GNU which, which from debianutils, and zsh builtin. In addition to this, AFAICS every major BSD distro has a different implementation… |
|
| Date |
User |
Action |
Args |
| 2019-04-16 16:59:00 | jwilk | set | recipients:
+ jwilk, gregory.p.smith, vstinner, giampaolo.rodola, christian.heimes, serhiy.storchaka, izbyshev |
| 2019-04-16 16:59:00 | jwilk | set | messageid: <1555433940.09.0.345778010137.issue35755@roundup.psfhosted.org> |
| 2019-04-16 16:59:00 | jwilk | link | issue35755 messages |
| 2019-04-16 16:59:00 | jwilk | create | |
|