On Fri, Jan 04, 2002 at 11:52:26PM -0800, Jos Backus wrote:
> On Fri, Jan 04, 2002 at 09:26:46PM -0800, Justin Erenkrantz wrote:
> > Yeah, this seems to be a bug in autoconf because this is not
> > portable /bin/sh code. IIRC, all cases must have an action item.
I misread this (shame on me), sorry. POSIX agrees:
> POSIX 1003.1 says:
>
> The format for the case construct is as follows:
>
> case word in
> [(] pattern1) compound-list;;
> [[(] pattern[ | pattern] ... ) compound-list;;] ...
> [[(] pattern[ | pattern] ... ) compound-list]
> esac
zsh and bash are simply more forgiving (or don't spot the error, if you will).
--
Jos Backus _/ _/_/_/ Santa Clara, CA
_/ _/ _/
_/ _/_/_/
_/ _/ _/ _/
[EMAIL PROTECTED] _/_/ _/_/_/ use Std::Disclaimer;