Article View: comp.editors
Article #2658map question
From: Jerry Schwartz
Date: Tue, 14 May 1991 23:48
Date: Tue, 14 May 1991 23:48
20 lines
823 bytes
823 bytes
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
Technical Details
Message-ID:
<1991May14.234859.3447@truevision.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!epicb!jerrysShow Full Headers
Complete Article Headers
Newsgroups: comp.editors Path: arc1-ca.pugleaf.net!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