bash scripting case statement code example
Example: bash case statement
case expression in
pattern1 )
statements ;;
pattern2 )
statements ;;
...
esac
case expression in
pattern1 )
statements ;;
pattern2 )
statements ;;
...
esac