1.readを利用してユーザ入力を読み込み
e.g read ACTION
2.case文を利用して入力内容に対する処理を分岐
e.g
case ${ACTION} in
1)
処理1
;;
2)
処理2
;;
esac
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
11