今回は、文字列のパターンで分岐する「case」を解説します。 ... /bin/bash; case "$1" in; "y") echo "YES"; echo "OK";;; "n") echo "NO";; ...
確定! 回上一頁