explain case statement of shell script with the option of a pattern list
Answers
Answered by
2
Explanation:
Answer:-
- The case statement allows you to easily check pattern (conditions) and then process a command-line if that condition evaluates to true.
- In other words the $variable-name is compared against the patterns until a match is found. *) acts as default and it is executed if no match is found.
Similar questions