Converting End of Line markers

Greg plug-discuss@lists.plug.phoenix.az.us
Wed, 05 Mar 2003 12:03:09 -0700


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 - PLUG-discuss@lists.plug.phoenix.az.us
>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"