zsh-users
 help / color / mirror / code / Atom feed
* prob w/ case patterns
@ 1999-03-07 23:12 Will Day
  1999-03-08  7:48 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Will Day @ 1999-03-07 23:12 UTC (permalink / raw)
  To: zsh users mailing list

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-10 16:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-07 23:12 prob w/ case patterns Will Day
1999-03-08  7:48 ` Bart Schaefer
1999-03-10  4:16   ` Will Day
1999-03-10 16:04     ` Bart Schaefer

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).