You are viewing a single comment's thread. Return to all comments →
it canbe more simplify by remove '$':
read X read Y if (( X > Y )); then printf "X is greater than Y" elif (( X == Y )); then printf "X is equal to Y" else printf "X is less than Y" fi
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →
it canbe more simplify by remove '$':