Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.editors Subject: Re: VI - removing control characters Keywords: vi, control characters Message-ID: <1185@virtech.UUCP> Date: 21 Sep 89 01:27:51 GMT References: <1600@ncrcan.Toronto.NCR.COM> Organization: Virtual Technologies Inc Lines: 15 In article <1600@ncrcan.Toronto.NCR.COM>, tim@ncrcan.Toronto.NCR.COM (Tim Nelson) writes: > I have files which have a visible ^M (real control M, not up-arrow M) > I want to be rid of the visible ^M. You can use the following sequence: :1,$ s///g it will appear as: :1,$ s/^M//g -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+