|
From: | jidanni |
Subject: | Re: test -t |
Date: | Thu, 04 Sep 2008 03:32:28 +0800 |
Is this a bug? >> $ t=test #bash builtin >> $ $t -t ' '; echo $? >> 0 PJ> That looks like a bug. bash tries to parse a number from the " " PJ> string and ends up with zero, which is a tty.
[Prev in Thread] | Current Thread | [Next in Thread] |