规范有点严格
if空格[空格"xx"空格=空格"xx"空格];空格then
echo "if"
elif空格[空格"xx"空格=空格"xx"空格];空格then
echo "elseif"
else
echo "else"
fi
if [ "xx" = "xx" ]; then
echo "if"
elif [ "xx" = "xx" ]; then
echo "elseif"
else
echo "else"
fi
规范有点严格
if空格[空格"xx"空格=空格"xx"空格];空格then
echo "if"
elif空格[空格"xx"空格=空格"xx"空格];空格then
echo "elseif"
else
echo "else"
fi
if [ "xx" = "xx" ]; then
echo "if"
elif [ "xx" = "xx" ]; then
echo "elseif"
else
echo "else"
fi