sh: case .... ==> ;; esac <==

Dan_Jacobson at ATT.COM Dan_Jacobson at ATT.COM
Sun Jun 10 03:47:44 AEST 1990


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
-- 
Dan_Jacobson at ATT.COM	+1-708-979-6364



More information about the Comp.unix.questions mailing list