Computing.Net > Forums > Unix > How to parse a file of 199 col?

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.

How to parse a file of 199 col?

Reply to Message Icon

Name: sivak
Date: December 12, 2005 at 19:44:08 Pacific
OS: Unix
CPU/Ram: 512
Comment:

Hi,
How to parse a file that has more than 199 columns. 'awk' fails when line is having more than 199 fields.
Is there a way to resolve this...what i am thinking is to strip off all those columns beyond 199 & then parse. Do you have any script for stripping off the columns outside 199?

Thanks
Siva



Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: December 12, 2005 at 23:01:56 Pacific
Reply:

How about a Perl script? Perl can parse any number of columns.


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: How to parse a file of 199 col?

How to delete a file named -x www.computing.net/answers/unix/how-to-delete-a-file-named-x/3350.html

how to replace a file in a .zip fil www.computing.net/answers/unix/how-to-replace-a-file-in-a-zip-fil/7497.html

How to copy a file in Telnet www.computing.net/answers/unix/how-to-copy-a-file-in-telnet/5921.html