Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: get rid of carriage return in vi

Re: get rid of carriage return in vi

From: Vladimir Begun <jester_at_whale.sunbay.crimea.ua>
Date: Thu, 12 Jul 2001 00:21:57 -0700
Message-ID: <F001.0034848C.20010712003020@fatcity.com>

On Jul 11, 2001 at 11:35:42PM, Sairlao, Chark wrote:
> all,
>
> I got this file which conntans ^M in the middle of the line, how do I get
> rid of it in vi

Strange question for this list, anyway:

:%s/^M//g

To type ^M you have to press ^V^M

-- 
Vladimir Begun               | Q: Can you describe the individual? A: He
http://vbegun.net/           | was about medium height and had a beard.  Q:
http://vbegun.net/wap/       | Was this a male, or a female?
me_at_vbegun.net                | 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Vladimir Begun
  INET: jester_at_whale.sunbay.crimea.ua

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Jul 12 2001 - 02:21:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US