Alec Warner wrote:

> On 11/4/07, Steve Long <[EMAIL PROTECTED]> wrote:
>> One minor thing; -n is the default test, so:
>> [[ $1 ]] is the same as [[ -n $1 ]]
>> and:
>> [[ ! $1 ]] is the same as [[ -z $1 ]]
>> ''help test'' is very revealing, for those who haven't read it. ;-)
> 
> Code Clarity over shortcuts.  Use the explicit version.

There's nothing unclear about [[ $1 ]] IMO. But whatever floats
your "${boat}" ;)


-- 
[EMAIL PROTECTED] mailing list

Reply via email to