re: Shellscripting: Conditional Execution VIEW POST

VIEW FULL DISCUSSION
 

As far as I remember, case does not use regex, but globbing. Similar, but different enough to make you scratch your head when something is not working.
If you need regex, nested if with =~ is the way to go.

code of conduct - report abuse