A co-worker claimed recently in a code review that the [[ ]] construct is to be preferred over [ ] in constructs like
[[ ]]
[ ]
if [ \"`id -
[[ ]] double brackets are unsuported under certain version of SunOS and totally unsuported inside function declarations by : GNU bash, version 2.02.0(1)-release (sparc-sun-solaris2.6)