>You can just say you've no idea about it,

That’s true (i.e., I can say I have no idea about it), but I have no reason to lie about it, so I won’t. I did have an idea, and I gave the idea to you, as I mentioned in my two previous replies.


Thanks! This sentence saves a lot of time.

Here are the "back to the track" reply for folks in this thread.

So the situation is more clear now. The newline in various OS need to respectively tested. And my idea is to check OS via (uname) in test cases.
Now that it's in tests, I think we don't have to talk much about the efficiency issue for this specific case.

Welcome to comment this proposal.