Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!mips!pacbell.com!att!linac!midway!clout!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.editors Subject: Re: Simple VI question? Message-ID: <1991May09.140740.18@chinet.chi.il.us> Date: 9 May 91 14:07:40 GMT References: <1991May9.024022.24367@massey.ac.nz> Organization: Chinet - Chicago Public Access UNIX Lines: 14 In article <1991May9.024022.24367@massey.ac.nz> R.Singh@massey.ac.nz (R. Singh) writes: >Mark 2 lines, and then from ":'a, 'z" append a >> at the beginning of every >line. :'a,'zs/^/>>/ But if I were doing it I probably wouldn't bother with the second mark. Just put the cursor on the ending line for the range and use . to reference it. :'a,.s/^/>>/ Les Mikesell les@chinet.chi.il.us