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: Stephane Faroult <sfaroult_at_oriolecorp.com>
Date: Thu, 12 Jul 2001 00:34:25 -0700
Message-ID: <F001.003484A5.20010712003021@fatcity.com>

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
>
> thanks
>

Type this

<ESC>:1,$s/<CTRL>V<RETURN>//

The <CTRL>V<RETURN> sequence should appear as ^M

--
Regards,

  Stephane Faroult
  Oriole Corporation
------------------------------------------------------------------
http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs
------------------------------------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriolecorp.com

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:34:25 CDT

Original text of this message

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