Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 12:35:13 -0500
From:      Albert Vest <>
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
On Sun, 25 Jan 2004 05:02:51 -0500
Avijit Pathania <> wrote:

> 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.

Looks like a jump to conclusions.  I find the same artifact every time I run script (usually when building ports, to capture the output).  THE ^M (sometimes two) are plainly visible when opening the file in ee.  All FreeBSD4.7, no dos involved.

> 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


Albert Vest, al vest at earth link dot net

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