Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!rochester!bbn!uwmcsd1!uwmacc!uwspan!hobbes!root From: root@hobbes.UUCP (John Plocher) Newsgroups: comp.unix.questions Subject: Re: Invisible Ascii with VI Message-ID: <250@hobbes.UUCP> Date: Mon, 5-Oct-87 00:43:24 EDT Article-I.D.: hobbes.250 Posted: Mon Oct 5 00:43:24 1987 Date-Received: Thu, 8-Oct-87 01:07:51 EDT References: <258@unx1.UUCP> <469@devon.UUCP> <8807@mimsy.UUCP> Reply-To: root@hobbes.UUCP (John Plocher) Followup-To: comp.unix.questions Organization: U of Wisconsin - Madison Spanish Department Lines: 22 +---- chris@mimsy.UUCP (Chris Torek) writes in <8807@mimsy.UUCP> ---- << a problem with removing trailing ^M's from lines in vi >> | : % s / ^V ^M $ / / | | works fine for me. | | Of course, this could be a bug in other versions of vi. (At this | very moment, I am running `Version 3.7, 6/7/85'---so says `:ver'.) The "vi" distributed by Microport is `Version 3.9, 2/9/83'. Strange, when was the timewarp? (ps, the pattern above works ok, as well as the one without the trailing '$') | (Going the *other* way---adding ^Ms---is another matter entirely.) Yup :-) | In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) -- John Plocher uwvax!geowhiz!uwspan!plocher plocher%uwspan.UUCP@uwvax.CS.WISC.EDU