3 ms·
Which means an effective thing to do when you control the data pipeline is to ban tabs and line-breaks from your values, and then use `cut` on tab-separated fil
by rspeer 10y ago
Which means an effective thing to do when you control the data pipeline is to ban tabs and line-breaks from your values, and then use `cut` on tab-separated files.
- Twirrim 10y agoOr just not use CSV as a data transfer format :D
- rspeer 10y agoI think you're missing the point. Unix tools like `cut` are really effective ways to deal with plain text data, who cares if it's CSV.
- ygra 10y agoSure, if you can redefine your data format, you can take shortcuts. But otherwise comparing cut to a CSV parser is just a different way of saying »if it doesn't have to be correct, I can make it as fast as I want«.