From owner-freebsd-questions@FreeBSD.ORG Sun Jan 25 09:35:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82C8216A4CE for ; Sun, 25 Jan 2004 09:35:16 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAFBD43D1D for ; Sun, 25 Jan 2004 09:35:14 -0800 (PST) (envelope-from alvest@earthlink.net) Received: from user-0c933cg.cable.mindspring.com ([24.145.141.144] helo=presario1999.vesthome.oh.us) by conure.mail.pas.earthlink.net with smtp (Exim 3.33 #1) id 1AkoAE-0005pD-00 for freebsd-questions@freebsd.org; Sun, 25 Jan 2004 09:35:14 -0800 Date: Sun, 25 Jan 2004 12:35:13 -0500 From: Albert Vest To: freebsd-questions@freebsd.org Message-Id: <20040125123513.18d9f232.alvest@earthlink.net> In-Reply-To: <4013944B.6070900@foulplay.org> References: <4013944B.6070900@foulplay.org> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: how to get rid of ^M character using vi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 17:35:16 -0000 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 Thanks, -- Albert Vest, al vest at earth link dot net