On Fri, Aug 27, 2010 at 12:31:34PM +0200, Jan Stary wrote:
| On my 4.8-current, the manpage of ksh says
|
| hash [-r] [name ...]
|
| Without arguments, any hashed executable command pathnames
| are listed. The -r option causes all hashed commands to
| be removed from the hash table. Each name is searched as
| if it were a command name and added to the hash table if
| it is an executable command.
That same manpage says :
The following command aliases are defined automatically by the shell:
autoload='typeset -fu'
functions='typeset -f'
hash='alias -t'
| However,
|
| $ hash
| ksh: hash: not found
|
| Am I missing something obvious?
Did you unalias stuff in your environment ? Anyway, easy solution is
to re-add the alias. It works for me (on -current, and since I've been
using OpenBSD):
[we...@doom] $ type hash
hash is an alias for 'alias -t'
[we...@doom] $ hash
[we...@doom] $
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/