| Start |
|---|
| Simple case statement In its simplest form supported by all versions of bash, case statement executes the case that matches the pattern. Outputs: |
| Case statement with fall through Since bash 4.0, a new operator #!/bin/bash Outputs: |
| Fall through only if subsequent pattern(s) match Since Bash 4.0, another operator Outputs: In the below example, the |
Read Article
https://develop.horje.com/learn/1434/reference