Path: utzoo!attcan!uunet!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.unix.questions Subject: Re: sh: case .... ==> ;; esac <== Message-ID: Date: 10 Jun 90 18:15:29 GMT References: <1990Jun9.174744.16051@cbnewse.att.com> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 21 In-reply-to: Dan_Jacobson@ATT.COM's message of 9 Jun 90 17:47:44 GMT 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 language | description in "An Introduction to the UNIX Shell" (Bourne/Seiden, 4.3 | BSD book USD:3-23) seems to require it, though there are examples on | previous pages that omit it. | | E.g., | case $LL in | COOL) echo this;; | J) echo that;; #is the ";;" needed here? | esac The Free Software Foundation shell Bash 1.04 requires it. I dunno about 1.05 (I'm waiting for 1.06). -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA Catproof is an oxymoron, Childproof is nearly so