And it would agree that it should be changed. I would expect dos to unix to turn \r\n into \n, ignoring the fact it may or may not wander into a \n first.I don't think the behavior should be changed. d2u stands for dos to unix which means \r\n to \n. Why would one expect a dos to unix utility to convert mixed line terminator files. If you need such a utility, then add one but don't take a utility that does dos to unix and try to turn it in to "anything" to unix or if you do then change the name. Just my 2 cents worth
I'd also like to express interest in having this changed. I knocked up my own program to do this, because particularily in cygwin I find it easy to accidentally edit a file in a few different editors and end up with a mess of line endings which need to be all syncronised to one system (of course I could just learn to not mess my files up ^_^ )
Chris
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/