mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 01:20:00 +02:00
commit bash-20120322 snapshot
This commit is contained in:
@@ -899,6 +899,8 @@ There may be an arbitrary number of @code{case} clauses, each terminated
|
||||
by a @samp{;;}, @samp{;&}, or @samp{;;&}.
|
||||
The first pattern that matches determines the
|
||||
command-list that is executed.
|
||||
It's a common idiom to use @samp{*} as the final pattern to define the
|
||||
default case, since that pattern will always match.
|
||||
|
||||
Here is an example using @code{case} in a script that could be used to
|
||||
describe one interesting feature of an animal:
|
||||
|
||||
Reference in New Issue
Block a user