Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!nwnexus!vantage!ray From: ray@vantage.UUCP (Ray Liere) Newsgroups: comp.sys.hp Subject: Re: Problem with /bin/sh in HP-UX 5.11, has it been fixed? Message-ID: <330033@vantage.UUCP> Date: 28 Aug 90 23:39:56 GMT References: <1990Aug24.174549.7785@bhpcpd.kembla.oz.au> Organization: Vantage Consulting and Research Corporation Lines: 41 >> 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? Another Series 500 person! Yea! (We have to stick together, yes?). I ran both of your tests (with the "" and without) on our 500 and got EMPTY for both of them. uname -a is HP-UX vantage 05.21 B 9030X 2304A00475. As you can see, we are running 5.21. By the way, lest a previous response stating that >> Its works correctly in both 6.5 and 7.0. cause any confusion -- I think the poster is referring to something other than series 500 -- as I believe the versions for series 500 went 5.11, 5.21, and then stopped at 5.3. Hope this helps. Ray Liere Vantage Consulting and Research Corporation voice: (503)657-7294 uucp: uunet!nwnexus.WA.COM!vantage!ray -or- uunet!nwnexus!vantage!ray -or- hplabs!hpubvwa!hpupora!vantage!ray Internet: ray%vantage@nwnexus.WA.COM