🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3151

Re: Query-replace on VI

#3151
From: wsmith
Date: Wed, 18 May 1988 03:11
13 lines
828 bytes
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.)
Technical Details
Message-ID: <37200006@uiucdcsm>
Path: arc1-ca.pugleaf.net!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
References: <653@ubu.warwick.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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