Computer Science, asked by abhilashtripathi644, 6 months ago

explain case statement of shell script with the option of a pattern list​

Answers

Answered by Mister360
2

Explanation:

\qquad\qquad\qquadAnswer:-

  • 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