A [[ az szerintem bash-specifikus, mármint bash-eredetű.
A SUS-ban (ami a POSIX supersetje) nem találom sehol.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag…
Szerk:
bocs, ksh specifikum, és nem része a szabványnak, le is írják:
The KornShell-derived conditional command (double bracket [[]]) was removed from the shell command language description in an early proposal.