My guess is the LF in the source is being converted to CRLF, and indeed this is what the docs state. I think doing a regexp-replace* directly on the port is probably the easiest and most efficient thing to do.
HTH, N. On Sun, Dec 5, 2010 at 8:01 AM, Michael Coppola <coppola...@husky.neu.edu> wrote: > Hi everyone, > > I am using the function "open-output-file" in conjunction with > "copy-port" to take incoming data from a TCP port and write it to a > file, but I am running into an issue. In my code, I offer the user the > option of saving the file by means o... _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users