how to get rid of ^M character using vi

Avijit Pathania foulplay at foulplay.org
Sun Jan 25 02:03:00 PST 2004


Looks like your file might have been edited in a dos text editor. You 
can try running dos2unix against it to see if that helps.


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?
>
> cheers
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
>
>



More information about the freebsd-questions mailing list