HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: awk byte limit
Operating System - HP-UX
1831294
Members
2939
Online
110022
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
02-04-2003 07:30 AM
02-04-2003 07:30 AM
awk byte limit
I am receiving an error when a script runs using awk within it. It tells me the linit for awk of a string is 3000bytes. I installed the awk patch PHCO_27521, but it still occurs.
Are there any other patches needed ??
It is running hpux 11.00
Thanks
Are there any other patches needed ??
It is running hpux 11.00
Thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:44 AM
02-04-2003 07:44 AM
Re: awk byte limit
That is the built-in record size limit for awk and is hard-coded. The answer is to install the Gnu version of awk - gawk. It's a superset of awk and will fix your problem.
http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.1/
http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.1/
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:55 AM
02-04-2003 07:55 AM
Re: awk byte limit
Hi,
The record length limit is 3000. One answer would be to download gawk from any of the HP-UX Porting Centre. Gawk has a dynamically allocated buffer and can be set to any desired size by a command line argument.
http://hpux.connect.org.uk/hppd/hpux/Gnu/gawk-3.1.1/
Rgds.
The record length limit is 3000. One answer would be to download gawk from any of the HP-UX Porting Centre. Gawk has a dynamically allocated buffer and can be set to any desired size by a command line argument.
http://hpux.connect.org.uk/hppd/hpux/Gnu/gawk-3.1.1/
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 07:58 AM
02-04-2003 07:58 AM
Re: awk byte limit
maybe Perl would come as a remedy?
though not knowing the Perl innards I'd assume that you're only restricted by memory
(n.b. you can slurp up whole files in one string in Perl by just localizing the record input seperator $/ in a code block, see "perldoc perlvar")
though not knowing the Perl innards I'd assume that you're only restricted by memory
(n.b. you can slurp up whole files in one string in Perl by just localizing the record input seperator $/ in a code block, see "perldoc perlvar")
Madness, thy name is system administration
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP