On 2017年2月17日 11:43:13, cyg Simple wrote: > There are as many ways to remove the \r as there are ways to create > them. Not really, if you are interested in POSIX compliance. POSIX Sed does not support \r or \xD or 15円. Same for POSIX Vim. The only portable tools I know are awk and tr. As I said before, d2u is certainly a good tool for this, but it is not portable and some people do care about that. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple