HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Weird behaviour of ksh after PHCO_21185 applied.
Operating System - HP-UX
1825771
Members
2127
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2000 09:55 AM
10-13-2000 09:55 AM
Weird behaviour of ksh after PHCO_21185 applied.
For information:-
The above patch is in the September 2000 Support Plus bundle for HP-UX 11.00
Having applied the bundle I started getting intermittent script failures. Tracked this down to #!/usr/bin/ksh scripts which checked an argument to be numeric within getopts with :-
if [[ $OPTARG = [1-9]*([0-9]) ]];
This construct intermittently returned false for a valid numeric argument. Changing the script to #!/usr/bin/sh removed the problem.
There is a document (found by searching for PHCO_21185) which details a bug fix to ksh in this area but concerning 'escaped' strings.
I have subsequently installed the latest ksh patch (PHCO_222020) and not seen the same problem... yet.
Regards,
John
The above patch is in the September 2000 Support Plus bundle for HP-UX 11.00
Having applied the bundle I started getting intermittent script failures. Tracked this down to #!/usr/bin/ksh scripts which checked an argument to be numeric within getopts with :-
if [[ $OPTARG = [1-9]*([0-9]) ]];
This construct intermittently returned false for a valid numeric argument. Changing the script to #!/usr/bin/sh removed the problem.
There is a document (found by searching for PHCO_21185) which details a bug fix to ksh in this area but concerning 'escaped' strings.
I have subsequently installed the latest ksh patch (PHCO_222020) and not seen the same problem... yet.
Regards,
John
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2001 05:31 AM
01-10-2001 05:31 AM
Re: Weird behaviour of ksh after PHCO_21185 applied.
Hi all,
I have resolve the problem with :
-remove the PHCO_21185
-install the PHCO_22712
Regards,
Hassan
I have resolve the problem with :
-remove the PHCO_21185
-install the PHCO_22712
Regards,
Hassan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP