|
From: | Dan Jacobson |
Subject: | test -n STRING and test STRING differ |
Date: | Sun, 05 Sep 2004 13:38:56 +0800 |
The docs make it look like test -n STRING and test STRING do the same. However, $ /usr/bin/test ``; echo $? 1 $ /usr/bin/test -n ``; echo $? 0 $ test ``; echo $? 1 $ test -n ``; echo $? 0
[Prev in Thread] | Current Thread | [Next in Thread] |