5

BASH script alphabetical conditional operator query.

view full story
linux-howto

http://www.linuxquestions.org – Hello All. I got a simple question, but Google has not assisted me in this query. I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" = "" " syntax. Like so: Code: if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then   echo "Invalid input"   exit 1 fi Thank you in advance. (HowTos)