在C规范中,case和default关键字在6.8.1节中表示为标记语句:identifier : statementIf a switch statement has an associated case or default label within the scope of an
identifier
case "$action" in echo for a or bb|c);;& echo for everythingPowerShell能够做我想做的事情,因为它有一个专用的default关键字,Bash有类似的功能吗?
像[!(a|b|c)])之类的彻底的工作怎么样?执行类似case 5 in 4) echo bob; ;;& esac || echo DEFAULT之类的操作是很方便的,但