Hello.
I would like to ask if somebody know an elegant way how to read line by line from a file written in UNIX/WINDOWS/MAC format.
The Idea is that the EOL is different when the file is written in UNIX/WINDOWS/MAC format.
EOL – Unix format = CR
EOL – Windows format = CRLF
EOL – MAC format = LF
Another question does somebody know an easy way how to find out what EOL is used in a given file?