That will tie you to a particular operating system. You are better off with the specific String:You will have to check what the properties are, in case I have given you the wrong name. Try here.
Thank you very much.
I will start using this.
In this instance, I am trying to adapt existing Interpretive Java ( Bean Shell?) scripts that were initially written on Windows.
I am actually using a Linux box to do that and have not had any problem with the CR/LF in the output.
The intended recipient of the finished script will run it in OSX. I just learned OSX uses normal Unix LF, not old style Mac RC, but there is no telling how it will respond.
Joined: Oct 13, 2005
Most applications can convert the different kinds of line terminators. But not all. Try \n as a line terminator on M$ Notepad and see what happens I mean, transfer a text file from a Linus box to Notepad, and try to open it.