home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!utcsri!torn!utzoo!censor!becker!cherni!quenton
- From: quenton@Cherniak.ON.CA (Dennis Smith)
- Subject: /bin/sh on HP-UX on HP-9000, case problem
- Organization: Cherniak Giblon
- Distribution: na
- Date: Thu, 7 Jan 1993 19:46:06 GMT
- Message-ID: <1993Jan7.194606.27426@Cherniak.ON.CA>
- Lines: 23
-
-
-
- I just started using an HP-9000. I had to port a few hundres
- utilities, some C and some shell scripts. I found that most of my
- shell scripts failed. The problem appeared to be statements of the form:
-
- case "abc?def" in
- *"?"*) echo OK;;
- esac
-
- This should echo "OK".
- It does on ksh. It does on /bin/sh on 8 other platforms including AIX.
- It does not on /bin/sh on the HP.
-
- For now I have replaced /bin/sh with /bin/ksh. I had to actually replace it
- because I have things run from cron which were failing too.
-
- Anyone run into this before? Anyone think I will have problems using ksh
- as /bin/sh?
- --
- Dennis Smith, quenton@Cherniak.ON.CA, UUCP: ..!lsuc!cherniak!quenton
- +1 416 771 7011, FAX +1 416 771 6288
- Cherniak Giblon 10 Commerce Valley Dr. E. #400, Thornhill, Ont. CANADA L3T 7N7
-