[gnu.bash.bug] sh: case .... ==> ;; esac <==

maart@cs.vu.nl (Maarten Litmaath) (06/16/90)

In article <1990Jun15.024859.4097@usenet.ins.cwru.edu>,
	chet@cwns1.CWRU.EDU (Chet Ramey) writes:
)In article <MEISSNER.90Jun11115342@curley.osf.org>
)	meissner@osf.org (Michael Meissner) writes:
)
)>| Bash 1.05 auto inserts the ;; as you can see:
)
)>I know it inserts it.  It should not give the error message -- after
)>all, I may be piping stderr to someother program, and the bash is just
)>a subshell.  The error message is bogus.
)
)Said error message will be gone in the next release, I think.

According to POSIX 1003.2 _and_ the V7 Bourne shell + most followups
the final `;;' can be omitted, as it should.
--
 "COBOL is the revenge of some witch burned |Maarten Litmaath @ VU Amsterdam:
   in Salem, [...]"  (Bill Davidsen)  |maart@cs.vu.nl, uunet!cs.vu.nl!maart