Duncan wrote:
> Donnie Berkholz <[EMAIL PROTECTED]> posted
> [EMAIL PROTECTED], excerpted below, on  Mon, 24 Sep 2007
> 13:09:57 -0700:
> 
>> For tests, pick a style
>> [[ ]] or [ ] and stick with it. The [[ ]] one is pretty nice because it
>> generally doesn't require quotes, so the code looks a lot cleaner.
> 
> Can you point me (and anyone else that may be interested) to a nice 
> explanation of the difference?  I've always wondered why [[ ]] is 
> considered "better" than [ ] for tests.

check out http://tldp.org/LDP/abs/html/testconstructs.html#DBLBRACKETS


-- 
                  fonts / wxWindows / gcc-porting / treecleaners
  9B81 6C9F E791 83BB 3AB3  5B2D E625 A073 8379 37E8 (0x837937E8)

-- 
[EMAIL PROTECTED] mailing list

Reply via email to