Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!usc!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!hplabs!hpl-opus!steinbac From: steinbac@hpl-opus.HP.COM (Gunter Steinbach) Newsgroups: comp.unix.questions Subject: Re: Vi question Message-ID: <63720019@hpl-opus.HP.COM> Date: 16 Jun 90 00:03:56 GMT References: <13132@ulysses.att.com> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 8 Use :s/x/^M/ to replace x with a newline. The "^M" gets typed in as Control-V Control-M. Works for me on HP-UX 6.5. Guenter Steinbach gunter_steinbach@hplabs.hp.com