Re: Read-line issue in Win64 when reading files.
[email protected] Fri, 21 Nov 2025 13:45:31 -0500
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Dave Tenny via Sbcl-help <[email protected]> writes: > 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) > If it were to be documented in the SBCL Info manual, then it likely belongs in the chapter section "Supported External Formats". In Emacs, this expression displays that section: (info "(sbcl) Supported External Formats") As of SBCL 2.5.10, there is no mention of :newline or :crlf in that section. -- The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds. _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help