Talk:Append a record to the end of a text file: Difference between revisions

(→‎Confused: new section)
Line 25:
value21,value22,value23,value24 with spaces
::Commas are the only separator. The colons in the given format make it look like something else that we shouldn't call CSV. Is that what etc/passwd looks like? It would probably be best to say something like "the record's values are separated by commas, with values in composite items separated by commas (similar to Linux's /etc/passwd file)." If at all possible you might want to make the data structures involved in the record very very simple (i.e. no structs). That would make sure the focus is on what's in the task title. Stringifying a custom data structure is a different task (which we might not have yet...). --[[User:Mwn3d|Mwn3d]] 02:23, 13 September 2011 (UTC)
 
:::This passwd file and linux or unix or posix passwd files would be best thought of as having records which have values which are separated by colons (and records are terminated by newlines). The contents of a certain value within each record can be thought of as having its own internal record structure which is separated by commas (and which cannot contain colons). --[[User:Rdm|Rdm]] 17:32, 21 September 2011 (UTC)
 
== Confused ==
6,962

edits