🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2661

Re: map question

#2661
From: Mitchell Wyle
Date: Wed, 15 May 1991 16:14
11 lines
824 bytes
In <1991May14.234859.3447@truevision.com> 
jerrys@truevision.com (Jerry Schwartz) asks:

>How can I delete all the control-M's (^M) from
>a file with a map function?

map m :%s/^V^M//g^V^M

works on Sun-OS 4.1.1

-Mitch
Technical Details
Message-ID: <28768@neptune.inf.ethz.ch>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!bernina!neptune!inf.ethz.ch!wyle
References: <1991May14.234859.3447@truevision.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!cernvax!chx400!bernina!neptune!inf.ethz.ch!wyle
From: wyle@inf.ethz.ch (Mitchell Wyle)
Newsgroups: comp.editors
Subject: Re: map question
Keywords: it works on sun-os 4.1.1
Message-ID: <28768@neptune.inf.ethz.ch>
Date: 15 May 91 16:14:22 GMT
References: <1991May14.234859.3447@truevision.com>
Sender: news@neptune.inf.ethz.ch
Reply-To: wyle@inf.ethz.ch (Mitchell Wyle)
Organization: Departement Informatik, ETH, Zurich
Lines: 11