I have a file with DOS line endings that I receive at run-time, so I cannot convert the line endings to UNIX-style offline. Also, my app runs on both Windows and Linux. My app d
On Unix, the lines would be read to the newline \n and would include the carriage return \r. You would need to trim both off the end.
\n
\r