Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 16:15:09 +0100
From:      Bernard El-Hagin <>
Subject:   Re: how to get rid of ^M character using vi
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Kent Stewart <> wrote:

>On Sunday 25 January 2004 01:43 am, marlon corleone wrote:
>> how do i get rid of this annoying character ^M using vi, in pico i
>> used the arguments '-w'
>> but what about in vi?
>starting on the 1st line type
>The .,$ tells it to process from the current line to the last one.

If you're doing this for the whole file it's faster to use %


It's even faster to use

:se ff=3Dunix

but that assumes we're talking about Vim, not Vi.


Want to link to this message? Use this URL: <>