Andreas Schwab wrote:
"Steven W. Orr" <ste...@syslang.net> writes:
As a work around, I can use eval or the builtin test, but my question is
this: Is this a bug or is there a reason that it should work for
arithmetic but not for the test [[ operator?
[[ is a reserved word like if, which triggers special parsing rules, so
you cannot use it like this.
However, it should work for the good ol' test command ([ ... ])
--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793