You are viewing a single comment's thread. Return to all comments →
No and operator in condition
read x read y read z if [ "$x" -eq "$y" ]; then if [ "$z" -eq "$y" ]; then echo "EQUILATERAL" else echo "ISOSCELES" fi else if [ "$z" -eq "$y" ]; then echo "ISOSCELES" else echo "SCALENE" fi fi
Seems like cookies are disabled on this browser, please enable them to open this website
More on Conditionals
You are viewing a single comment's thread. Return to all comments →
No and operator in condition