Is the carriage-return char considered obsolete
- by Evan Plaice
I wrote an open source library that parses structured data but intentionally left out carriage-return detection because I don't see the point. It adds additional complexity and overhead for little/no benefit.
To my surprise, a user submitted a bug where the parser wasn't working and I discovered the cause of the issue was that the data used CR line endings as opposed to LF or CRLF.
Hasn't OSX been using LF style line-endings since switching over to a unix-based platform?
I know there are applications like Notepad++ where line endings can be changed to use CR explicitly but I don't see why anybody would want to.
Is it safe to exclude support for the statistically insignificant percentage of users who decide (for whatever reason) to the old Mac OS style line-endings?