case variable in
pattern) command-list ;;
pattern) command-list ;;
...
esac
case "$fruit" in
"") echo "\$fruit is empty"
;;
lemon) echo The fruit is a lemon
;;
orange) echo The fruit is a orange
;;
*) echo Unknown fruit
;;
esac