case

A command of the separate bcma command line; see Commands for other chip families.

Execute command based on string match.

case <key> <value> <command> [<value> <command> ... ] [* <command>]

Built-in help

Execute a command based on matching a key value. Command lines of
more than one word must be quoted. Different commands must be
separated by semicolon.

Built-in examples

$key a "echo 1; echo 2" b "echo 3"