You are viewing a single comment's thread. Return to all comments →
A simple solution?
read x if [[ "$x" = "Y" || "$x" = "y" ]]; then echo 'YES' else echo 'NO' fi #if x is equal to upper case OR lower case y print YES
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 →
A simple solution?