I want to remove the ^M on my WinXP machine and then copy
them over again to my linux machine.

This is the ever-popular line-break-delimiter problem.

If you do

        :set ff?

Vim will likely currently come back with "dos".

You should be able to solve it by executing

        :set ff=unix

on either box, and then writing the file. This file should be recognized on both sides of matters.

-tim




Reply via email to