title: Compound 'if' statements with multiple expressions in Bash
body: <p>I would like to recreate something like this</p>
  <pre><code>if ( arg1 || arg2 || arg 3) {}
  </code></pre>
  <p>And I did got so far, but I get the following error:</p>
  <pre><code>line 11: [.: command not found
  
  if [ $char == $';' -o $char == $'\\' -o $char == $'\'' ]
  then ...
  </code></pre>
  <p>I tried different ways, but none seemed to work. <a href="http://crazedmonkey.com/blog/programming/multiple-expression-if-statement-in-bash.html" rel="nofollow noreferrer">Some of the ones I tried</a>.</p>