Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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
Domain Nodelet?
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 exploiting the Monastery: (3)
As of 2022-01-17 15:22 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (51 votes). Check out past polls.