삼각형 식별을위한 코드를 작성했지만 직각 삼각형을 작성할 수 없습니다. bash 함께쉘 스크립팅에 사각형을 넣는 방법
#!/bin/sh
echo "enter the value of a"
read a
echo "enter the value of b"
read b
echo "enter the value of c"
read c
if [ $c = $a = $b ]
then
echo "Its a equilateral triangle"
fi
if [ $c != $a != $b ]
then
echo "Its a Triangle"
fi
참조. 그것이 사각형이 들어오는 곳입니다 – fsimkovic