KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a variable $var . I want echo "true" if $var is equal to any of the following values abc , def , hij , klm , or nop . Is there a way to do this with a single statement like && ??
Tags (comma-separated)
Save Edits
Cancel