- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: find awk version on HP-UX ia64 B.11.31
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО04-19-2011 05:53 AM
тАО04-19-2011 05:53 AM
find awk version on HP-UX ia64 B.11.31
- Tags:
- awk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:12 AM
тАО04-19-2011 06:12 AM
Re: find awk version on HP-UX ia64 B.11.31
what would you do with the information?
Is there some actual problem which you are
trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:16 AM
тАО04-19-2011 06:16 AM
Re: find awk version on HP-UX ia64 B.11.31
HP offers "HP's" implementation. If you are expecting some GNU variant, don't.
You could try something like:
# file /usr/bin/awk
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:18 AM
тАО04-19-2011 06:18 AM
Re: find awk version on HP-UX ia64 B.11.31
what /usr/bin/awk
hth
Stephan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:20 AM
тАО04-19-2011 06:20 AM
Re: find awk version on HP-UX ia64 B.11.31
"CBALLPR cannot have more than 199 fields"
This same batch file is working properly on another server, so they need to confirm if "awk" version is same on both servers or not....
$ awk --version
Usage: awk [-F fs][-v Assignment][-f Progfile|Program][Assignment|File] ...
$ file /usr/bin/awk
/usr/bin/awk: ELF-32 executable object file - IA64
How can I find version from above ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:27 AM
тАО04-19-2011 06:27 AM
Re: find awk version on HP-UX ia64 B.11.31
> "CBALLPR cannot have more than 199 fields"
This same batch file is working properly on another server, so they need to confirm if "awk" version is same on both servers or not....
Non-GNU 'awk' as found on HP-UX has the 199-field limitation.
If the same code is working on another server, ask the question (1) is this an HP-UX server, too, with a "standard" 'awk' *AND* is the data being processed identical.
If you are concerned about patches, do something like:
# swlist -l product|grep -i awk
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 06:29 AM
тАО04-19-2011 06:29 AM
Re: find awk version on HP-UX ia64 B.11.31
/usr/bin/awk:
main.c $Date: 2009/02/17 15:25:17 $Revision: r11.31/1 PATCH_11.31 (PHCO_36132)
run.c $Date: 2009/02/17 15:25:20 $Revision: r11.31/1 PATCH_11.31 (PHCO_36132)
$Revision: @(#) awk R11.31_BL2009_0427_1 PATCH_11.31 PHCO_36132
"what /usr/bin/awk" works...!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2011 06:39 AM
тАО04-23-2011 06:39 AM
Re: find awk version on HP-UX ia64 B.11.31
This is an HP-UX awk limitation. You need to use gawk.
>This same batch file is working properly on another server, so they need to confirm if "awk" version is same on both servers or not.
$ awk --version
Usage: awk [-F fs][-v Assignment]
This may work with gawk, not HP's.
If it works on another system, as JRF suggested, perhaps the data is different?
>what /usr/bin/awk works
So do you have PHCO_36132 on both?