Pot the following in your ~/.emacs
(or eqiuvalent)
(defun dos2unix ()
"Replace DOS eolns CR LF with Unix eolns CR"
(interactive)
(goto-char (point-min))
(while (search-forward "\r" nil t) (replace-match "")))
and then you would be able to simply use M-x dos2unix
.