Computing.Net > Forums > Unix > awk record limit - workaround?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

awk record limit - workaround?

Reply to Message Icon

Name: elpico
Date: June 25, 2003 at 08:52:27 Pacific
OS: Sun Solaris
CPU/Ram: -
Comment:

Hi all,

I'm using nawk through a large log_file checking the 6th column for values that begin with W or T. The problem is that every so often, the record length will exceed 3000 characters --- I then get a error ---
nawk: record `Jun 25, 2003 1:48:50...' has too many fields

Anyone know of a way to get around this?

Cheers,
elpico.



Sponsored Link
Ads by Google

Response Number 1
Name: nails
Date: June 25, 2003 at 11:02:36 Pacific
Reply:

Elpico:

Unfortunately, I don't think there is a work around. I can suggest you download the GNU version of awk, gawk, from:

http://www.gnu.org

It doesn't seem to have this problem.

Regards,

Nails


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: awk record limit - workaround?

awk record too long www.computing.net/answers/unix/awk-record-too-long/5630.html

Misalignment of Numbers www.computing.net/answers/unix/misalignment-of-numbers/5812.html

awk in Unix Bourne Shell www.computing.net/answers/unix/awk-in-unix-bourne-shell/4928.html