On solaris it is easy to write a windows file.
You only have to append a '\r' to your line-string.
But on windows it is not so easy because the line termination characters are by default '\r\n'.
So how about a option to set the line termination characters to '\n' (like in Unix)?
Settable line termination character(s)?
Settable line termination character(s)?
Hans-Peter
use this:
Lutz
Code: Select all
(define-macro (println-unix)
(apply print (map eval (args)))
(print "\n"))