I need some help validating a user entered string. I know this is basic programming stuff...but...
I am asking for a user to input an "e" or an "f"
How do I kick out of the script if it is neither?
There must be a way to do
if $I != [e,f]
then
echo " I said e or f!!!"
quit
fi
Thanks for the help.
I am asking for a user to input an "e" or an "f"
How do I kick out of the script if it is neither?
There must be a way to do
if $I != [e,f]
then
echo " I said e or f!!!"
quit
fi
Thanks for the help.