> I don't know where there's never been some effort to create a "CSV format specification"
RFC 4180 (https://tools.ietf.org/html/rfc4180) "Common Format and MIME Type for Comma-Separated Values (CSV) Files"
RFC 4180 (https://tools.ietf.org/html/rfc4180) "Common Format and MIME Type for Comma-Separated Values (CSV) Files"
$ cat file.csv
CSV,quote=always,quotechar=",header=yes,delim=,
Col1,Col2
"val","val2"
[..]
Then you always know what you're dealing with, unambiguously.There are other cases where embedding some "metadata" in CSV files is useful; for example the exports I create in my app are versioned by prefixing the first header with the version number. It works, but it's not exactly great.
Of course, the downside is legacy software not being able to process it.