case-terminator

Bash ;; terminator

Stops case after executing matching commands.

Formal Syntax & Structure

bash syntaxbash
pattern) commands ;;

Return Value

behavior

Stops case after executing matching commands.

Working Example

Example Snippetbash
case a in a) printf '%s\n' yes ;; *) printf '%s\n' no ;; esac
Bash Reference