Ho cercato di capire cosa c'è che non va in questo, ma non riesco a capirlo ..
Questa è la parte sembra avere un errore.
elif [ $operation = "man" ]; then
if [ $aug1 = "add" ]; then # <- Line 75
echo "Man Page for: add"
echo ""
echo "Syntax: add [number 1] [number 2]"
echo ""
echo "Description:"
echo "Add two different numbers together."
echo ""
echo "Info:"
echo "Added in v1.0"
echo ""
elif [ -z $aug1 ]; then
echo "Please specify a command to read the man page."
else
echo "There is no manual page for that command."
fi
Ottengo questo errore:
calc_1.2: line 75: [: =: unary operator expected
ifaffermazione sulla riga 75 abbia bisogno di afi.