[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reading CSV
- From: Rob Kendrick <rjek@...>
- Date: Tue, 3 Dec 2013 18:45:57 +0000
On Wed, Dec 04, 2013 at 07:09:30AM +1300, Geoff Leyland wrote:
> - read lines with “*l” and so are opinionated about what constitutes a newline
Really? "*l" checks for "\n", which if you've opened your file in text
mode it should be; as the C library will do line ending translation if
your OS got that wrong.
If you want to import CSV files that come from a different OS that gets
it wrong, then that's a problem, but changing them to use a different
function rather than read "*l" doesn't seem like that much of a
hardship.
B.