# Binary test. echo "**** Binary comparisons." x=3 y=10 echo -n "test -a: " if (test $x -eq $x -a $y -eq $y) then echo "x = x and y = y. Expected." else echo "false: x = x and y = y." fi echo -n "test -a: " if (test $x -eq $x -a $y -ne $y) then echo "x = x and y = y." else echo "false: x = x and y != y. Expected." fi