This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see EmbeddedCrLf in WG2's repo for R7RS-large.

Embedded­Cr­Lf

cowan
2014-12-28 08:27:50
3history
source

I ran a set of existing implementations under Linux with input redirected to a file containing:

(write (string-length "abc def"))

where the line break is CR+LF.

Racket, Gauche, Chicken, Bigloo, Scheme48/scsh, Guile, SISC, Chibi, STklos, SigScheme, Scheme 9 report 8.

MIT, Kawa, Chez, SCM, Ikarus, Larceny, Ypsilon, Mosh, IronScheme, Sagittarius report 7.