Shell case syntax matching values and running the matching statement.
case $var in <val1|val2 ...> <statement 1> ;; <val3> <statement 2> ;; … esac