Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uiucdcsm!wsmith From: wsmith@uiucdcsm.cs.uiuc.edu Newsgroups: comp.editors Subject: Re: Query-replace on VI Message-ID: <37200006@uiucdcsm> Date: 18 May 88 03:11:00 GMT References: <653@ubu.warwick.UUCP> Lines: 13 Nf-ID: #R:ubu.warwick.UUCP:653:uiucdcsm:37200006:000:323 Nf-From: uiucdcsm.cs.uiuc.edu!wsmith May 17 22:11:00 1988 You can copy any range of text with :'a,'bco'c where 'a, 'b and 'c represent marks, line numbers, /pattern/, ?pattern?, $ or . (% can be used instead of 'a,'b also). Bill Smith pur-ee!uiucdcs!wsmith wsmith@a.cs.uiuc.edu (Can the change directory command be trusted to work on all vi systems? :chd /tmp is an example.)