zsh-users
 help / color / mirror / code / Atom feed
From: segal@morgan.com (Morris M. Siegel)
To: Zefram <A.Main@dcs.warwick.ac.uk>
Cc: hzoli@cs.elte.hu, zsh-users@math.gatech.edu, schaefer@nbn.com
Subject: Re: Bug in case stmt with '('
Date: Mon, 22 Jul 1996 17:56:15 -0400	[thread overview]
Message-ID: <9607221756.ZM3691@morgan.com> (raw)
In-Reply-To: Zefram <A.Main@dcs.warwick.ac.uk> "Re: Bug in case stmt with '('" (Jul 22, 10:27pm)

On Jul 22, 10:27pm, Zefram wrote:
> Subject: Re: Bug in case stmt with '('
> >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
>-- End of excerpt from Zefram

To tell the truth, I have no idea what POSIX says about empty patterns.
It seems that your views on the subject coincide with mine.

-- Morrie Siegel


  reply	other threads:[~1996-07-22 21:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-17 21:01 Morris M. Siegel
1996-07-18 18:27 ` Bart Schaefer
1996-07-18 23:43   ` Zoltan Hidvegi
1996-07-19  2:23     ` Bart Schaefer
1996-07-19 16:00       ` Zoltan Hidvegi
1996-07-21 22:53         ` Morris M. Siegel
1996-07-22  6:31           ` Bart Schaefer
     [not found]             ` <schaefer@candle.brasslantern.com>
1996-07-22 19:26               ` Morris M. Siegel
1996-07-22 19:51                 ` Zoltan Hidvegi
1996-07-22 20:48                   ` Morris M. Siegel
1996-07-22 21:27                     ` Zefram
1996-07-22 21:56                       ` Morris M. Siegel [this message]
1996-07-22 21:51                     ` Bart Schaefer
1996-07-22 21:23                   ` Zefram
1996-07-22 22:31               ` Morris M. Siegel
1996-07-22 23:37                 ` Bart Schaefer
1996-07-24 16:07     ` Morrie is off for July 25 Morris M. Siegel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9607221756.ZM3691@morgan.com \
    --to=segal@morgan.com \
    --cc=A.Main@dcs.warwick.ac.uk \
    --cc=hzoli@cs.elte.hu \
    --cc=schaefer@nbn.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).