You can use this command ... to replace all the ^M characters in the file.
1,$ s/<ctr-v><ctrl-M>//g
ctrl means control key...
-Venu
---------------------------------------- Message History
----------------------------------------
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Venugopal Tenkayala
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).