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: OT: [stupid] vi question

Re: OT: [stupid] vi question

From: Ron Thomas <rthomas_at_hypercom.com>
Date: Wed, 06 Aug 2003 09:19:44 -0800
Message-ID: <F001.005C941E.20030806091944@fatcity.com>

You have opened a file saved in "dos" mode.

:%s/^M//g

works wonders.

Ron Thomas
Hypercom, Inc
rthomas_at_hypercom.com
Each new user of a new system uncovers a new class of bugs. -- Kernighan

                                                                                                                                                  
                      saira_somani_at_yaho                                                                                                           
                      o.com                    To:       ORACLE-L_at_fatcity.com                                                                     
                      Sent by:                 cc:                                                                                                
                      ml-errors_at_fatcity        Subject:  OT: [stupid] vi question                                                                 
                      .com                                                                                                                        
                                                                                                                                                  
                                                                                                                                                  
                      08/06/2003 11:09                                                                                                            
                      AM                                                                                                                          
                      Please respond to                                                                                                           
                      ORACLE-L                                                                                                                    
                                                                                                                                                  
                                                                                                                                                  




Suddenly my vi editor is showing ^M at the end of each line. How do I get rid of it?

Thanks in advance,
Saira

--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Saira Somani-Mendelin
  INET: saira_somani_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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.net -- Author: Ron Thomas INET: rthomas_at_hypercom.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Wed Aug 06 2003 - 12:19:44 CDT

Original text of this message

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