[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: type -p return status is 0 if alias found
From: |
Mike Frysinger |
Subject: |
Re: type -p return status is 0 if alias found |
Date: |
Wed, 4 Apr 2007 12:25:03 -0400 |
User-agent: |
KMail/1.9.6 |
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
pgp39rXCt0cCP.pgp
Description: PGP signature