General Question

malevolentbutticklish's avatar

Does a .CSV file zero bytes in length have one empty cell or zero cells?

Asked by malevolentbutticklish (2185points) April 3rd, 2010

Yes, the distinction between one empty cell and zero cells could be important.

Observing members: 0 Composing members: 0

5 Answers

DrBill's avatar

Zero cells

This usually occurs when a program “autosaves” a file that has not been written to yet.

malevolentbutticklish's avatar

@DrBill: Thanks. For bonus credit does the 2 byte CRLF .csv have zero cells or one empty cell? The CRLF is optional at the end of a .csv so it would appear that even the zero-cell .csv could have one but I am not so sure.

DrBill's avatar

It does not have one, but it does set aside the space for one to be added later

XOIIO's avatar

What extention is this for anyway?

malevolentbutticklish's avatar

@XOIIO: It is for any data you want to organize in rows and columns. You can read and edit the data in a text editor. Spreadsheets, database tables, logs, etc. are commonly exportable to .csv

http://en.wikipedia.org/wiki/Comma-separated_values

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther