From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-06-22 02:33:43


Rene Rivera wrote:

> "whence" *is* a builtin for bourne shell. You must mean that it's not a
> builtin for bash.

Its not, I think, its a builtin for ksh. On System V shells, you have
'type', on KornShell its 'whence', and on C shell its 'which'.

POSIX gives us 'command', therefore what you probably want is 'command -v'.

Markus