ok, maybe because he was using commands that need evaluation... why do we must use [[ and ]] sometimes? because we need to evaluate what is inside.
The same is with if, while, echos with $gettok() ... where you want to test what is inside the ()
Is the "bug" solved?