prj@po.cwru.edu (Paul Jarc) writes:
|> Dan Jacobson <jidanni@deadspam.com> wrote:
|> > $ case a in b)esac #odd. what about ;;?
|>
|> Looks like that ought to fail.
This is correct, the ;; is optional before esac (see case_list_ns in the
shell grammar of POSIX.1-2001).
|> > $ case a in b)date ;esac
|> > $ case b in b)date ;esac
|> > Tue 04 9 21:12:29 CST 2002
|>
|> Looks like that ought to fail.
Same as above.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."