Newsgroups: comp.editors Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!epicb!jerrys From: jerrys@truevision.com (Jerry Schwartz) Subject: map question Message-ID: <1991May14.234859.3447@truevision.com> Organization: Truevision Inc., Indianapolis, IN Date: Tue, 14 May 91 23:48:59 GMT Lines: 21 How can I delete all the control-M's (^M) from a file with a map function? This is what I have tried but it doesn't seem to work. :map m :1,$s/\^V^M//g^V^M " Press m to get rid of crtl-M's in file I use a similiar macro for the followinf function and it works. :map z :.,$s/_\^V^H//g^V^M " Press z to .,$s/_^H//g " used to remove _^H in man pages sent to a file What's the difference??? Jerry Schwartz jjs@epicb.truevision.com