Hi John, Interesting links. One thing to remember about [[]] is that its = operator isn't a simple string comparison, as test(1)'s/[(1)'s is, and it doesn't treat both operands the same.
$ t() { echo true; } $ [[ hello? = hello? ]] && t true $ [[ hellox = hello? ]] && t true $ [[ hello? = hellox ]] && t $ [[ hellox = hellox ]] && t true $ Cheers, Ralph. -- Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue