Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2003 17:07:56 -0600
From:      Marc Wiz <marc@wiz.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Remove ^M characters from xhtml file
Message-ID:  <20031202230756.GA78070@wiz.com>
In-Reply-To: <20031202165558.P38364@speedy.insekure.com>
References:  <20031201031602.GA80581@bsdjunky.homeunix.org> <20031202225359.GA1125@moo.holy.cow> <20031202165558.P38364@speedy.insekure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 02, 2003 at 04:58:06PM -0600, James Schmidt wrote:
> Using Vi, use this command
> 
> :1,$ s/<ctrl-v><ctrl-m>//g

To save two keystrokes try this :-)

:% s/<ctrl-v><ctrl-m>//g

Marc
-- 
Marc Wiz
marc@wiz.com
Yes, that really is my last name.



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