News for hackers. Stuff that matters.
Re:A love letter to the CSV format by taeric on Thursday March 27, 2025 @09:52AM (#43493677)
I think you are a bit more likely to notice in a CSV/TSV, as it is unlikely to truncate at a newline?

Still, fair point. And is part of why I said it is a flaw, not the flaw. Plenty of other reasons to not like YAML, to me. :D

Re:A love letter to the CSV format by pasc1878 on Thursday March 27, 2025 @10:48AM (#43494243)
Not if it is split at a line e.g. if the source or target can only deal with a fixed number of lines.
Re:A love letter to the CSV format by taeric on Thursday March 27, 2025 @11:29AM (#43494677)
Right, that is what I meant about that being unlikely? Most instances of truncated files that I have seen were because of size, not lines.

Still, a fair point.

Re:A love letter to the CSV format by ziml77 on Thursday March 27, 2025 @01:32PM (#43495868)
Really depends on how the CSV is generated/transferred. If the output of the faulting software is line-buffered then it's quite likely that a failure would terminate the file at a line break.