Not that arithmetic expressions are evaluated in there as in:

[ 1+1 -eq 2 ]

would return true like in ksh93.

Note that in ksh93, things like 010 in test operands are always
treated as decimal even when they're part of arithmetic
expressions.

For hexadecimal however, [ 0x12 -eq 0 ] [ 0x12+1 -eq 1 ] return
true, but [ " 0x12" -eq 18 ] or [ 1+0x12 -eq 19 ] return true
which doesn't make a lot of sense.

Reply via email to