[Tutor] Problem Moving Python Program From WIndows to Linux

ibraheem umaru-mohammed ium@micromuse.com
Tue, 10 Apr 2001 16:27:39 +0100


[D-Man wrote...]
-| | Can you recommend any utilities to strip "\r" from files. I tried doing 
-| | search and replace in idle but that failed.
-| 
-| In vim :
-| 
-| :%s/^V^M//
-| 

You could also just use the fileformat command under Vim.

:help ff

and then just do something like 

	:set ff=dos
or
	:set ff=unix

This will automatically handle fileformat issues.

Hope that helps,

Kindest regards,

	--ibs.

-- 
The best you get is an even break.
		-- Franklin Adams