Operating System - HP-UX
1833195 Members
2599 Online
110051 Solutions
New Discussion

Re: using awk or nawk on HP-UX 10.20

 
Paola Martinez
New Member

using awk or nawk on HP-UX 10.20


Somebody knows if exists nawk on HP-UX 10.20 or how it can be used?
If not, is there a way to increase de size code limit to use awk ?
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: using awk or nawk on HP-UX 10.20

I think I would download a binary distribution
of GNU's gawk from http://hpux.connect.org.uk.
If it ain't broke, I can fix that.
Gregory Fruth
Esteemed Contributor

Re: using awk or nawk on HP-UX 10.20

I believe the HP-UX "awk" *is* "nawk", or is equivalent to it.
Therefore on HP-UX you can just use "awk" instead of "nawk".
I don't understand what you mean about code size, however.

HTH

A. Clay Stephenson
Acclaimed Contributor

Re: using awk or nawk on HP-UX 10.20

Gregory is correct HP's awk is nawk but I assume that you want longer record lengths or more fields. Gawk has options for those things.
If it ain't broke, I can fix that.
Paola Martinez
New Member

Re: using awk or nawk on HP-UX 10.20

Thanks!

I'll try gawk.....