🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2779

Re: Doing an nfind in vi (:+,$v/string/a -- the better idea)

#2779
From: Hans Mulder
Date: Wed, 05 Jun 1991 19:28
21 lines
1095 bytes
In <2803@pdxgate.UUCP> a0cb@.cc.pdx.edu (Chris Bertholf) writes:
>In article <3593@wn1.sci.kun.nl> hansm@cs.kun.nl (Hans Mulder) writes:
>>In <1356@dg.dg.com> carlson@mrx.webo.dg.com (James Carlson) asks:
>>The best I can come up with is
>>
>>:+,$v/string/a
>>Anyone with a better idea?
>>
>:+,$v/string/p

>doesnt print the error message...

but it doesn't move the cursor to the correct line, either...

(Remember the exercise is to move the cursor to the next line not
 containing the string.)

--
Have a nice day,

Hans Mulder	hansm@cs.kun.nl
Technical Details
Message-ID: <3618@wn1.sci.kun.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!mcsun!hp4nl!sci.kun.nl!cs.kun.nl!hansm
References: <1356@dg.dg.com> <3593@wn1.sci.kun.nl> <2803@pdxgate.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!mcsun!hp4nl!sci.kun.nl!cs.kun.nl!hansm
From: hansm@cs.kun.nl (Hans Mulder)
Newsgroups: comp.editors
Subject: Re: Doing an nfind in vi (:+,$v/string/a -- the better idea)
Keywords: vi nfind
Message-ID: <3618@wn1.sci.kun.nl>
Date: 5 Jun 91 19:28:11 GMT
Article-I.D.: wn1.3618
References: <1356@dg.dg.com> <3593@wn1.sci.kun.nl> <2803@pdxgate.UUCP>
Sender: root@sci.kun.nl
Organization: University of Nijmegen, The Netherlands
Lines: 21