On 4/13/07, Chris Carey <chris.carey at gmail.com> wrote: > After creating a file on Windows, when I open that file on Linux, I > see ^M at the end of each line in vi. :%s/(ctrl)M//g That'll fix it.