Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

prob w/ case patterns



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@xxxxxxxxxxxxxxxxxx            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: pgp5LWQRkTW8m.pgp
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author