3 ms·
The primary differences are: * word splitting and pathname expansion don't happen in [[...]]; * "==" does pattern matching in [[...]], but it does string comp
by jwilk 9y ago
The primary differences are:
* word splitting and pathname expansion don't happen in [[...]];
* "==" does pattern matching in [[...]], but it does string comparison in [...].