Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: How to create an accurate CSV file

by snopal (Pilgrim)
on Mar 01, 2010 at 13:55 UTC ( #825916=note: print w/replies, xml ) Need Help??

in reply to How to create an accurate CSV file

It seems you need to understand text parsing. Simply stated, your script assumes one space and a dozen spaces are the same. Obviously this is wrong, and you need to account for each column of data in a hard format.

Whether learning Perl to solve this particular problem is the path to your solution only you can answer. I'm not totally familiar with AWK's full set of features, but I do know there are some fine columnar tools in 'cut'.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://825916]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2020-10-28 19:19 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (264 votes). Check out past polls.