is there anything like "select case"/"switch"?
eg:
case $1 {
:001 return we got 001
:002 echo -a Something else
:default echo -a Default case
}
at the moment im using something like that, but with Goto...
eg
goto $1
:001
{ return we got 001 | goto break }
:002
{ echo -a Something else | goto break }
:break
(no default)
Is there a cleaner way to do this?