Jim Crumley wrote:
> 
> Or in vim from the colon prompt type:
> :s/^V^M//
> 
> (where ^V = control+V and ^M=control+M)
> 
> --
> Jim Crumley                  |
> crumley at fields.space.umn.edu |
> Work: 612 624-6804 or -0378  |
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

Or do the whole file at once with

vim -c "%s/^M//g" -c "wq" filename

Replaces all your ^M 's and writes/quits the file