Is there a way to test whether an array contains a specified element?
e.g., something like:
array=(one two three) if [ "one" in ${array} ]; then ... fi