Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in case stmt with '('
- X-seq: zsh-users 328
- From: Zefram <A.Main@xxxxxxxxxxxxxxxxx>
- To: segal@xxxxxxxxxx (Morris M. Siegel)
- Subject: Re: Bug in case stmt with '('
- Date: Mon, 22 Jul 1996 22:27:56 +0100 (BST)
- Cc: hzoli@xxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx, schaefer@xxxxxxx
- In-reply-to: <9607221648.ZM3416@xxxxxxxxxx> from "Morris M. Siegel" at Jul 22, 96 04:48:28 pm
>I confess to having forgotten about the empty pattern. Using null syntax
>to implicitly denote the empty pattern in a script doesn't enhance readability
>in any case, and I think zsh syntax would be safer and less confusing if the
>empty pattern had to be denoted with the explicit syntax "()".
Does POSIX require that a completely empty pattern be allowed? sh and
ksh don't like it, and zsh only allows it where there's a |. I don't
see any problem with producing a parse error, and requiring an explicit
empty pattern.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author