See also flip, dos2unix, etc.
HTH,
In reply to Re: ^M chars in output file by planetscape in thread ^M chars in output file by locust