in reply to Remove the ^M Character from a Document

For those who use this for S&R beyond the scope of Ctrl chars (like words, sentences, etc...), using
perl -pi.bak -e 's!something!something else!' file
is helpful so you can have a backup of your file in case something occurs which you didn't expect. Refer to perlrun.

Cheers,
KM