You are viewing a single comment's thread. Return to all comments →
This works
read c [[ "$c" == [yY] ]] && echo "YES" || echo "NO"
Seems like cookies are disabled on this browser, please enable them to open this website
Getting started with conditionals
You are viewing a single comment's thread. Return to all comments →
This works