case

case string ?in? ?pattern body ...? ?default body?

The old form of switch -glob. Use switch in new code.

Examples

A click on an example runs it in the shell of the page.

Facts