Thorsten Glaser wrote on 31 December 2011 15:00 >tr -d \\r would work, too (but also strip CR in the middle).
sed -e 's/\r$//' preserves CRs in the midddle. - Barry ..Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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