Re: Read-line issue in Win64 when reading files.
Dave Tenny via Sbcl-help <[email protected]> Fri, 21 Nov 2025 16:10:23 +0000
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Just a note that the `:newline :crlf` option is not described in the SBCL manual. A note to the original question that the behavior you experienced is correct _standard_ Common Lisp behavior which interprets only newlines as end-of-line. However there are portable `read-line` variants available that accept any of the LF, CR, CRLF eol sequences used by various host platforms (if you care about portability). `(ql:system-apropos "read-line")` will find them. On 11/21/25 8:56 AM, Stas Boukarev wrote: > Open the file with :external-format '(:default :newline :crlf) _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help