Comment 1 for bug 718396

Revision history for this message
Jilles Tjoelker (jilles) wrote :

You need to quote the operators to distinguish them from redirections. It may be appropriate to mention this in the man page.

For example:
$ [ 2.6 "<" 2.7 ]; echo $?
0
$ [ 2.6 ">" 2.7 ]; echo $?
1