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