SyntaxFix
Write A Post
Hire A Developer
Questions
Use a vertical bar (|) for "or".
|
case "$C" in "1") do_this() ;; "2" | "3") do_what_you_are_supposed_to_do() ;; *) do_nothing() ;; esac