Loop
if then fi, while do doneを使う
i=10
while [ $i -le 30 ]; do
i=`expr $i + 5`
done
i=10
if [ $i -le 30 ]; then
i=`expr $i + 5`
fi
文字列評価
if [ "_$STR" = "_string" ]; then
fi
入力受付
ans=""
while [ -z "$ans" ]; do
read ans
case $ans in
[Yy]*)
;;
*)
;;
esac
done