2012/6/17 CRLF0710 <crlf0710@gmail.com>
(format t "~%") 

build an app, say, a.exe
a.exe > b.txt

hexdump b.txt -c

0000000   \r  \r  \n

It turns out that in an unbelievable degree of stupidity, Microsoft not only implements CRLF translation at the level of fread/fwrite, but also for input/output operations with read() and write(). I will upload some patches in a few minutes.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)