Xref: utzoo comp.unix.questions:22990 gnu.bash.bug:1508 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.questions,gnu.bash.bug Subject: Re: sh: case .... ==> ;; esac <== Message-ID: <6942@star.cs.vu.nl> Date: 15 Jun 90 21:38:37 GMT References: <1990Jun15.024859.4097@usenet.ins.cwru.edu> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatika, Amsterdam, The Netherlands Lines: 18 In article <1990Jun15.024859.4097@usenet.ins.cwru.edu>, chet@cwns1.CWRU.EDU (Chet Ramey) writes: )In article ) 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