You are viewing a single comment's thread. Return to all comments →
read x read y if [ $x -gt $y ] then echo "X is greater than Y" fi if [ $x -lt $y ] then echo "X is less than Y" fi if [ $x -eq $y ] then echo "X is equal to Y" fi
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →