I’ve developed a command line tool which converts some kind of binary data to csv text.
Now I’m going to port it to Windows and I’am still not sure if I should write “\r\n” line feeds specially for Windows or just ‘\n’ as usual.
I’d like to have exactly the same output on all platforms. But I’am not a Windows guy and don’t know any problems that may occur.
Do you think the usual data miner on Windows could live without that ‘\r’?
For example I’ve tried out “excel”, “cmd” and “more” – didn’t noticed any problems without ‘\r’. Notpad missed, but who cares?
cu,
Rudi
Ok, I decided to never output windows line feeds anymore even on stderr and stdout.
BTW I’ve noticed that writing in O_BINARY mode is about two times faster than default O_TEXT.
This is what I’am doing now: