bug-bash
[Top][All Lists]
Advanced

[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, address@hidden 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

Attachment: pgp75xEIMOcVF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]