title: 3 OR Conditions in Bash Statement
body: <p>I would think this would be simple, but I keep getting errors. I want 3 OR conditions in my if else statement. These are the variations I've tried. What syntax error am I making?</p>
  <pre><code>   if [[ $var == &quot;a&quot; ]] || [[ $var == &quot;b&quot; ]] || [[ $var == &quot;c&quot; ]]; then
  #Do Stuff
      else
  #Do Stuff
      fi
  
      if [ $var == &quot;a&quot; ] || [ $var == &quot;b&quot; ] || [ $var == &quot;c&quot; ]; then
  #Do Stuff
      else
  #Do Stuff
      fi
  
      if [[ $var == &quot;a&quot; ] || [ $var == &quot;b&quot; ]] || [ $var == &quot;c&quot; ]; then
  #Do Stuff
      else
  #Do Stuff
      fi
  
      if [[ $var == &quot;a&quot;  || $var == &quot;b&quot; || $var == &quot;c&quot; ]]; then
  #Do Stuff
      else
  #Do Stuff
      fi
  </code></pre>