sh: case .... ==> ;; esac <==
Michael Meissner
meissner at osf.org
Mon Jun 11 04:15:29 AEST 1990
In article <1990Jun9.174744.16051 at cbnewse.att.com> Dan_Jacobson at 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 at osf.org phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA
Catproof is an oxymoron, Childproof is nearly so
More information about the Comp.unix.questions
mailing list