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: <John.Dailey_at_ing-fsi-na.com>
Date: Thu, 12 Jul 2001 06:44:56 -0700
Message-ID: <F001.0034890E.20010712062553@fatcity.com>

Sorry if I'm taking this too far, but I sometimes get those ^M characters in files when I FTP in the wrong mode (ascii vs. binary). If this file has been recently transferred to your Unix box, try re-FTPing it in a different mode and those ^M characters may go away.

If this doesn't apply to you, just ignore my ramblings and use one of the many good solutions provided to remove the offending character.

HTH, John D.

                                                                                       
                             
                    "Sairlao, Chark"                                                   
                             
                    <SairlaoC_at_transfie        To:     Multiple recipients of list 
ORACLE-L <ORACLE-L_at_fatcity.com>   
                    ld.com.au>                cc:                                      
                             
                    Sent by:                  Subject:     get rid of carriage return 
in vi                         
                    root_at_fatcity.com                                                   
                             
                                                                                       
                             
                                                                                       
                             
                    07/12/2001 03:35                                                   
                             
                    AM                                                                 
                             
                    Please respond to                                                  
                             
                    ORACLE-L                                                           
                             
                                                                                       
                             
                                                                                       
                             




all,

I got this file which conntans ^M in the middle of the line, how do I get rid of it in vi

thanks

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sairlao, Chark
  INET: SairlaoC_at_transfield.com.au

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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: John.Dailey_at_ing-fsi-na.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 - 08:44:56 CDT

Original text of this message

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