In both the latest release of KSH (and I think the previous one)
the behavior of 'whence' seems strange.

$
$ pwd
/home/me/a
$ # do a 'whence -a' on a regular program
$ whence -a proga
proga is a tracked alias for /usr/local/bin/proga
$ 
$ # now do a 'whence -a' on a SHELL builtin
$ ls cut
ls: cut: No such file or directory
$ whence -a cut
cut is a shell builtin
cut is a tracked alias for /home/me/a/cut
$
$

Why does 'whence -a' always show builtins as being a "tracked alias"
for something in the current working directory that doesn't even exist?
Is this the proper behavior?  This seems a bit strange to me.

Thanks for any information,
Dave Morano
[EMAIL PROTECTED]

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to