News for hackers. Stuff that matters.
Re:A love letter to the CSV format by recursive on Wednesday March 26, 2025 @01:49PM (#43484793)
It's not really easier than CSV if you can guarantee no commas or newlines.
Re:A love letter to the CSV format by jefftk on Wednesday March 26, 2025 @02:04PM (#43484956)
Much easier to require fields not have tabs than not have commas, though.
Re:A love letter to the CSV format by solidsnack9000 on Wednesday March 26, 2025 @05:28PM (#43487536)
Parsing escapes is easier than parsing quoted text with field and record separators embedded in it. Every literal newline or literal tab is a separator. One can jump to the thousandth record, for example, just by skipping lines, without looking into the contents.