On Tuesday 03 April 2007, John.Wiersba@thomson.com wrote:
> "type -p CMD" normally has a non-zero return status if CMD is not
> found. But if CMD is an alias, the return status is zero even though
> nothing is printed to stdout.
by definition, this is how -p is supposed to work ... my guess is you want -P
-mike