Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2001 09:50:14 -0400
From:      Damien Tougas <damien@carroll.com>
To:        Lee Mark Mercado <leemark@servesyndicate.com>
Cc:        freebsd-questions@freebsd.org
Subject:   re: ^M
Message-ID:  <79280000.991835414@01.dhcp.hck.carroll.com>
In-Reply-To: <000a01c0ee8e$f29e6f10$0201a8c0@cx669547b>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, June 06, 2001 06:45:28 -0700 Lee Mark Mercado 
<leemark@servesyndicate.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79280000.991835414>