in reply to
Remove the ^M Character from a Document
vi the file and white in command mode type in:
:%s/[ctrl+v][ctrl+m]//g
hitting the ctrl+v makes the carrot and ctrl+m specifies the letter "m"
basically searches and replaces all ^M with nothing
Comment on
Simple Way...
Download
Code
In Section
Cool Uses for Perl