Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!lll-winken!hpuplca!joseph From: joseph@hpuplca.HP.COM ( Joseph Hohl ) Newsgroups: comp.sys.hp Subject: Re: Problem with /bin/sh in HP-UX 5.11, has it been fixed? Message-ID: <410012@hpuplca.HP.COM> Date: 27 Aug 90 19:46:08 GMT References: <1990Aug24.174549.7785@bhpcpd.kembla.oz.au> Organization: Hewlett-Packard Pleasanton Calif. Sales Office Lines: 30 > There is a known bug in our shell which causes problems with Cnews shell > scripts. It incorrectly interprets code like this: > > VAR="" > case "$VAR" in > "") echo EMPTY;; > *) echo FULL;; > esac > > echoing FULL rather than EMPTY. > > We are running HP-UX 5.11 on an HP9000 series 500. > uname -a yields "HP-UX bhpcpd 05.11 B 9030X 2304A00202" > > Has this bug been fixed? If so, what version would I need? > -- It seems to have been fixed. My uname yields: HP-UX hpuplca 05.21 B 9020X 2240A00271 but it is actually release 5.3. I tried your test and came out with EMPTY rather than FULL like you did. > Bernd Wechner, Research Officer (bernd@bhpcpd.kembla.oz.au) > BHP Coated Products Division, Research and Technology Centre > Port Kembla, New South Wales, Australia. > ---------- Joseph