View Single Post
Old Jul 18th, 2005, 2:05 PM   #4
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
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
skuinders is offline   Reply With Quote