zsh-users
 help / color / mirror / code / Atom feed
From: Will Day <willday@rom.oit.gatech.edu>
To: zsh users mailing list <zsh-users@sunsite.auc.dk>
Subject: prob w/ case patterns
Date: Sun, 7 Mar 1999 18:12:18 -0500	[thread overview]
Message-ID: <19990307181218.A18404@rom.oit.gatech.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 996 bytes --]

I'm running into a problem with patterns in a case statement:

   % cat ad
   case John.Smith in
      John*|one) echo ok;;
      *) echo huh;;
   esac
   % /bin/sh ad
   ok
   % /bin/ksh ad
   ok
   % /tmp/zsh/zsh-3.0.5/Src/zsh ad
   ok
   % /tmp/zsh/zsh-3.1.2/Src/zsh ad
   ok
   % /tmp/zsh/zsh-3.1.3/Src/zsh ad
   huh
   % /usr/local/bin/zsh-3.1.5 ad
   huh
   % ln -s /usr/local/bin/zsh-3.1.5 /tmp/ksh
   % /tmp/ksh ad
   huh

Was this supposed to have changed between 3.1.2 and 3.1.3?

______________________________________________________________________________
Will Day     <PGP mail preferred>     OIT / O&E / Technical Support
willday@rom.oit.gatech.edu            Georgia Tech, Atlanta 30332-0715
    =-> Opinions expressed are mine alone and do not reflect OIT policy <-=
Those who would give up essential Liberty, to purchase a little temporary 
Safety, deserve neither Liberty nor Safety.
    Benjamin Franklin, Pennsylvania Assembly, Nov. 11, 1755

[-- Attachment #2: Type: application/pgp-signature, Size: 344 bytes --]

             reply	other threads:[~1999-03-07 23:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-07 23:12 Will Day [this message]
1999-03-08  7:48 ` Bart Schaefer
1999-03-10  4:16   ` Will Day
1999-03-10 16:04     ` Bart Schaefer

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=19990307181218.A18404@rom.oit.gatech.edu \
    --to=willday@rom.oit.gatech.edu \
    --cc=zsh-users@sunsite.auc.dk \
    /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).