Appendix B: About Comma Separated FilesThe term "comma separated format" (or "tab separated format" or “CSV”) is often used as a catchall term for all kinds of text-based data formats, where the data is formatted in a line-by-line fashion. Each line contains one data record, and a number of columns per line, where the different columns are separated by comma (or tab, or some other separator character).LISTSERV Maestro can correctly interpret comma separated text files in various formats as long as the following rules are applied:
Lucy,Summers,London,UK
Karl,Hauser ""the man""","Frankfurt, am Main",DEThis defines a dataset with three rows, each row consisting of four fields. The third fields in the first and last rows each have a value that contains a comma. Since this comma is inside of the quote characters, it is not interpreted as a separator comma, but instead as part of the value of the field. In addition, the first field in the first row contains the quote character, which has been escaped. Including the quotes, the field in its escaped form looks like this: John ""Hammer"" Cool. The two double appearances of the quote character around the word "Hammer" are not interpreted as quotes that delimit the field, but are instead interpreted as single appearances of the quote character which are part of the field value. Therefore, the un-escaped form of the field looks like this: John "Hammer" Cool. Similarly, the second field of the last row has the un-escaped form of Hauser "the man”.