J
Justin Rudd
I've noticed a slight inconsistancy with IO.readlines depending on the
line ending. If the line ending is PC (\r\n) or Unix (\n) then it
works fine no matter the platform. But if the line ending is Mac
(\r), IO.readlines returns one line no matter how many lines it is
supposed to be.
Maybe this isn't such a big deal anymore since Mac OS X uses Unix line
endings, but believe it or not I've got files coming in from Mac OS 9
users.
Anyone else seen this? I'm using a build built from the last stable
snapshot under Cygwin.
line ending. If the line ending is PC (\r\n) or Unix (\n) then it
works fine no matter the platform. But if the line ending is Mac
(\r), IO.readlines returns one line no matter how many lines it is
supposed to be.
Maybe this isn't such a big deal anymore since Mac OS X uses Unix line
endings, but believe it or not I've got files coming in from Mac OS 9
users.
Anyone else seen this? I'm using a build built from the last stable
snapshot under Cygwin.