On Mon, Mar 28, 2016 at 01:18:06PM +1100, Ben Elliston wrote:
> The which(1) man page says: "It does not follow symbolic links". However 
> `which' does in fact:
> 
> $ ln -s /usr/bin link
> $ export PATH=~/link:$PATH
> $ which uptime
> /home/bje/link/uptime
> 
> In a modern Linux system, not following symbolic links would be rather 
> undesiarable
> behaviour. I don't have a strong view on whether the behaviour as implemented 
> is correct,
> but the man page is inconsistent.  Perhaps the man page just needs correcting?

The root of this issue is https://bugs.debian.org/268624
and I think a man page clarification would be in order.

Reply via email to