ifs可以任意定义
单层循环判断
内外层循环
for n in {1..5}
do
for i in {a..e}
do
echo "内层循环的值i" == 'd' ]
then
break
fi
done
echo "外层循环的值i"
echo "---------------------------"
done
for n in {1..5}
do
for i in {a..e}
do
echo "内层循环的值i" == 'd' ]
then
break
fi
done
echo "外层循环的值i"
echo "---------------------------"
done