I am new to shell scripting and this is my first shell script.i am getting this error and stuck in it.following is the simple code for it:
#!/bin/sh
yes=y;
no=n;
echo "Do you want to enter batch order id manually? (y/n) "
read answer
if [ $answer -eq $yes ]; then
echo "Please Enter Batch Order Id."
elif[ $answer -eq $no ]; then
echo "Copying all batch orders."
else
echo"please enter correct input."
fi