title: In array operator in bash
body: <p>Is there a way to test whether an array contains a specified element?</p>
  
  <p>e.g., something like:</p>
  
  <pre><code>array=(one two three)
  
  if [ "one" in ${array} ]; then
  ...
  fi
  </code></pre>