I noticed a repository's .gitattributes entry for *.csv used text eol=crlf so I investigated and found this.

all 7 comments

sorted by: hot top controversial new old
[–] 6 points 1 year ago (1 child)

I think csv is a bad format, if you can even call it that. Yes, there are some cases where it makes sense. I worked with an oscilloscope at uni which output csv. But other than that, I consider it more of a concept than an interface / exchange standard

  • source
  • hideshow 1 child comment
  • [–] 3 points 1 year ago

    more of a concept

    And it's better to be considered so.
    The name itself suggests a Comma as a separator, but we know how inconvenient that is and that tab characters tend to be useful in most cases.
    Even LibreOffice Calc asks the user what they expect as the separator when given a csv file, even if it has enough commas to feel correct.

  • source
  • parent
  • [–] 4 points 1 year ago (3 children)

    I hate that the pleasant news about standardization of CSV come with the let-down that is using two bytes for new lines.

  • source
  • hideshow 3 child comments
  • [–] 3 points 1 year ago (2 children)

    Don't worry, it's not really standardised despite this attempt. You can use UNIX line endings and nothing bad will happen.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago

    We want to move down to the next line (line feed) but also to the beginning of that line (carriage return) after all.

  • source