Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!icarus!kaul From: kaul@icarus.eng.ohio-state.edu (Rich Kaul) Newsgroups: comp.unix.questions Subject: Re: sh: case .... ==> ;; esac <== Message-ID: Date: 10 Jun 90 19:33:50 GMT References: <1990Jun9.174744.16051@cbnewse.att.com> Sender: news@quanta.eng.ohio-state.edu Organization: The Ohio State University Dept of Electrical Engineering Lines: 23 In-reply-to: meissner@osf.org's message of 10 Jun 90 18:15:29 GMT In article meissner@osf.org (Michael Meissner) writes: | In article <1990Jun9.174744.16051@cbnewse.att.com> Dan_Jacobson@ATT.COM writes: | | Is there any Bourne (or "Bourne compatible") shell version that requires | | me to put the last ";;" right before the "esac"? | | The Free Software Foundation shell Bash 1.04 requires it. I dunno | about 1.05 (I'm waiting for 1.06). Bash 1.05 auto inserts the ;; as you can see: Script started on Sun Jun 10 15:30:14 1990 bash$ case $PATH in bash>NOTHING) echo this;; bash>*) echo that bash>esac Inserted `;;' that bash$ exit script done on Sun Jun 10 15:30:46 1990 -=- Rich Kaul | "Every man is given the key to the door kaul@icarus.eng.ohio-state.edu | of heaven; unfortunately, the same key or ...!osu-cis!kaul | opens the door to hell."