in reply to Convert file to unix

This being perlmonks, here is a Perl one liner for you, it edits filename.txt in place, see Command Switches and the tr function for more details:
perl -pi -e'tr{\r}{}d' filename.txt