New line seperator is hardcoded.
Status: Beta
Brought to you by:
retpyrc
When you're reading text as a series of logical lines, you should always look for all three of the major line-separator styles: Windows ("\r\n"), Unix/Linux/OSX ("\n") and pre-OSX Mac ("\r").
My application is deployed on Solaris and Linux servers. Since the utility appends "\n\r" at ht eend of each line, in Linux servers we see ^M characters. This behavior creates problems in my application.
Instead of using ("\n\r") hard-coded, you should use System.getProperty("line.separator") java property.