Converting End of Line markers

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Greg
Date:  
Subject: Converting End of Line markers
vim solution

ggvG$:s/^M//g<ENTER>

Remember ^M is
<CTRL>+V <CTRL>+M



Simper, Brian D wrote:

>A co-worker sent a set of development files to me containing source code
>and scripts. Unfortunately, he routed it through his Windows desktop and
>all of the text files have the standard Dos end-of-line markers. Bash
>won't interpret them correctly. Is there a simple way to convert between
>Dos EOL and UNIX/Linux EOL?
>
>Thanks,
>
>Brian
>---------------------------------------------------
>PLUG-discuss mailing list -
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>


-- 
"Anger and Greed are the primary causes of defeat"
        Sun Tzu - "Art of War"