On Wed, 16 Feb 2011 11:22:34 -0500
David Korn <[email protected]> wrote:

> tracked aliases were added for ksh88 and for compatibility the the Bourne
> shell they were not on by default.
> 
> The POSIX standard allows the shell to remember the location of commands
> until PATH is assigned to. So, in ksh93 while I left the trackall option in,
> for backward compatibility with ksh88, I made the default track aliases and
> ignored the option. 
> 
> As far as I remember, the only case I do not remember the location of
> a command that I look up is with whence -a.
> 
> Now I should either make this clear in the documentation, or implement
> disabling tracked aliases as you have done.
> 
> Can you give me a reason why you believe that it should be possible
> to disable tracked aliases?

Hello,
  I found the set +h/trackall documented also in "The New Kornshell" book and
noting suggests it's a no-op. The alias tracking might cause unexpected
behaviour in the interactive mode when the PATH contains '.' so I think it
would be nice if users could have a way to disable them.

Regards,
-- 
Tomáš Smetana

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

Reply via email to