From owner-freebsd-questions Wed Jun 6 6:50:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cache1.hck.carroll.com (cache1.hck.carroll.com [216.44.20.19]) by hub.freebsd.org (Postfix) with ESMTP id 0733D37B401 for ; Wed, 6 Jun 2001 06:50:29 -0700 (PDT) (envelope-from damien@carroll.com) Received: from 01.dhcp.hck.carroll.com ([10.64.0.224] verified) by cache1.hck.carroll.com (CommuniGate Pro SMTP 3.2.4) with ESMTP id 3319766; Wed, 06 Jun 2001 09:50:16 -0400 Date: Wed, 06 Jun 2001 09:50:14 -0400 From: Damien Tougas To: Lee Mark Mercado Cc: freebsd-questions@freebsd.org Subject: re: ^M Message-ID: <79280000.991835414@01.dhcp.hck.carroll.com> In-Reply-To: <000a01c0ee8e$f29e6f10$0201a8c0@cx669547b> X-Mailer: Mulberry/2.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --On Wednesday, June 06, 2001 06:45:28 -0700 Lee Mark Mercado wrote: > how do i take out the ^M in my edited files on my freeBSD box ? Open the file in vi, and type in the following (^ = ctrl): :1,$ s/^V^M/g That should do it for you. --- Damien Tougas Systems Administrator Carroll-Net, Inc. http://www.carroll.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message