I am looking for the correct syntax of the switch statement with fallthrough cases in Bash (ideally case-insensitive). In PHP I would program it like:
switch
Try this:
case $VAR in normal) echo "This doesn't do fallthrough" ;; special) echo -n "This does " ;& fallthrough) echo "fall-through" ;; esac