Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * yes または それ以外
- read -p "yes or no: " input; [ ${input} = yes ] && echo -e "YeeeesS" || echo -e "NooooO";
- * enter または それ以外
- read -p "yes or no: " input; [ ${input}x = x ] && echo -e "YeeeesS" || echo -e "NooooO";
Add Comment
Please, Sign In to add comment