I have a function reading a text file on Windows (thus a file with CRLF as line ending), and when I call read-line on this file, I get strings ending with CR, and this with SBCL or Clozure CL. With MKCL, both CR and LF are removed.
So I wonder, which implementation is right ?
According to the standard, The primary value, line, is the line that is read, represented as a string (without the trailing newline, if any). (see here). Thus, I think there should be no CR or LF left, but it's not very clear for me.
Of course, there are workarounds, but it's quite annoying, and I would like to know whether it's a bug, or simply implementation dependant.