|
I am only proficient in BASH, so I don't know about other shells. I don't think there is a keyword or anything of that nature which you could add to the case block to make it not break after a match. I would probably do this using ifs without elses - and if I wanted to make the fallover property switchable, I would write the regular case version (breaks) also and just do an if/else above both methods, using a decision variable that you set early in the script.
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell
http://web.bryant.edu/~srk2
|