- Community Home
- >
- Operating Systems
- >
- HP-UX
- >
- System Administration
- >
- find awk version on HP-UX ia64 B.11.31
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
find awk version on HP-UX ia64 B.11.31
(508 Views)
Reply
Topic Options
- Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 05:53 AM
How to find awk version on my HP-UX ia64 B.11.31 system ??
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:12 AM
Why do you care? If you knew its version,
what would you do with the information?
Is there some actual problem which you are
trying to solve?
what would you do with the information?
Is there some actual problem which you are
trying to solve?
Message 3 of 8
(508 Views)
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:16 AM
Hi:
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...
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...
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:18 AM
To get some number or Patch information:
what /usr/bin/awk
hth
Stephan
what /usr/bin/awk
hth
Stephan
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:20 AM
One of the customer is facing a problem which executing a batch file, they are getting the error
"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 ?
"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 ?
Message 6 of 8
(508 Views)
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:27 AM
Hi (again):
> "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...
> "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...
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2011 06:29 AM
$ what /usr/bin/awk
/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...!!!!
/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...!!!!
Message 8 of 8
(508 Views)
Re: find awk version on HP-UX ia64 B.11.31
Post options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-23-2011 06:39 AM
>"CBALLPR cannot have more than 199 fields"
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?
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?
