Hi,
I have a simple script that writes to a file, however I have been having fun with new lines. It seems that Windows wants "\r\n", but Unix just wants the "\n".
First question: will the slash "\r" have any effect on the unix file when reading it in?
Second question: Is there anyway of finding the operating system of the server so that I can write the files with the correct new line characters.
Any help would be appreciated.
TIA
Cheers
Stuart