At the command prompt:
sed -e s/"^M"//g <infile> > <outfile>
You can generate the ^M by pressing Ctrl+V then press M.

-P0w3rK!d


In reply to Re: Removing Windows newlines by P0w3rK!d
in thread Removing Windows newlines by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":