Resending with fixed shell-discuss alias name. (it got triple 's')
>
>> The main reason for using [[...]] instead of [...] is not performance.
>> The man reason is that the behavior is predictable since the shell
>> knows which arguments are operands and which are operators.
>> The [...] is subject to surprises because of word splitting and
>> the fact that operands can look like operators. Files named -a or -o,
>> or '(' or ')' can be used to cause scripts to misbehave.
>>
>> In addition [[...]] does things like pattern matching that [...] does
>> not do.
>
> Seems we can trust this answer :) Too bad we cannot discuss the original
> ksh88 code since it resides in the usr/closed/ tree. Anyway, thanks for
> the explanation.
>
> Could someone please add the above to the shell style document ? [1]
>
>
> v.
>
> [1] http://opensolaris.org/os/project/shell/shellstyle/
>