switch VALUE [case [GLOB ...] [COMMAND ...]] end Description¶ switch executes one of several blocks of commands, depending on whether a specified value matches one of several values. case is used together with the switch statement in order to determine which block should be executed.
