I just do a simple task,input a bc then if c is "+" it will print total of a+b
So i do this
echo "$a $b $c = "
if [ $c = "+" ]; then
echo $(($a + $b))
fi
And it return simple.sh: 3: [: =: unexpected operator
What is going on?? Please help, thank a lot, im so confuse now