Sujet : Re: Default PATH setting - reduce to something more sensible?
De : marrgol (at) *nospam* address.invalid (marrgol)
Groupes : comp.unix.shellDate : 23. Jan 2025, 23:33:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vmug45$1p2am$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla/5.0 (rv:102.0) Gecko/20100101, Betterbird/102
On 2025-01-23 at 21:34 Janis Papanagnou wrote:
Bash behaves strange here; 'which' doesn't find the executable but
nonetheless bash executes it, shows its output?
[…]
To me it appears that not finding (by 'which') an executable but
executing it nonetheless qualifies as a bug [in Bash].
It's not a bug, it's just a bash feature you don't kno^H^H^H remember
until it bites you ;). Time to reread 'COMMAND EXECUTION' section
in bash manual…