Chet Ramey <chet.ra...@case.edu> writes: > Yes, you need a list terminator so that `done' is recognized as a reserved > word here. `;' is sufficient. Select doesn't allow the `done' unless it's > in a command position. Some of the other compound commands have special > cases, mostly inherited from the Bourne shell, to allow it.
I was going to ask why "else {" works, since according to the manual page, "{" should not be recognized as a reserved word in this situation. Dale