if [ "$content" = "hello" ]\
|| [ "$content" = "kitty" ]
then
echo "content is hello or kitty"
elif [ "$content" = "red" ]\
|| [ "$content" = "yellow" ]
then
echo "content is red or yellow"
fi
特别注意:"]"和"\"之间无空格
if [ "$content" = "hello" ]\
|| [ "$content" = "kitty" ]
then
echo "content is hello or kitty"
elif [ "$content" = "red" ]\
|| [ "$content" = "yellow" ]
then
echo "content is red or yellow"
fi
特别注意:"]"和"\"之间无空格