in reply to How to remove ^M from a file
A slightly-more-perlish approach might be the Power Ptools equivelent nlcvt. cheers, ybiC