When you ssh to a sunos box it kicks off a script that mounts you a directory and enables ZSH.
I guess i could just get out of ZSH.
funny - when i echo the shell on the sunos box it says BASH, yet I am clearly in the ZSH shell.
The double bracket works on the SUN os boxes.
So I guess it is more of an issue with the version of bash than the shell i am using.
most of the linux boxes are 4.1 and the sun os is 3.0
linux
Code:
[casper@linux1 ]$ bash --version
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
sunos
Code:
casper@sunbox1 > bash --version
GNU bash, version 3.00.16(1)-release (i386-pc-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.