🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.text
Article #952

Re: "vi" questions

#952
From: aglew
Date: Tue, 24 Jun 1986 12:56
16 lines
1168 bytes
>In the version of "vi" that comes with 4.2 BSD, what commands do I
>use to search for the following text?
>
>1) Two (or more) blank lines, one after the other.
>
>2) A line longer than "n" characters.

I'm afraid that you can't do this directly in vi, without going into a shell.
I'm sure that I will be flamed if I'm wrong.

But - you can do it in GNU EMACS by quoting the newline. Just one among
the many reasons to use EMACS.

Andy "Krazy" Glew. Gould CSD-Urbana.    USEnet:  ihnp4!uiucdcs!ccvaxa!aglew
1101 E. University, Urbana, IL 61801    ARPAnet: aglew@gswd-vms
Technical Details
Message-ID: <90800002@ccvaxa>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew
References: <1273@brl-smoke.ARPA>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!lll-crg!seismo!gatech!akgua!whuxlm!whuxl!houxm!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!aglew
From: aglew@ccvaxa.UUCP
Newsgroups: net.text
Subject: Re: "vi" questions
Message-ID: <90800002@ccvaxa>
Date: Tue, 24-Jun-86 08:56:00 EDT
Article-I.D.: ccvaxa.90800002
Posted: Tue Jun 24 08:56:00 1986
Date-Received: Sat, 28-Jun-86 04:52:27 EDT
References: <1273@brl-smoke.ARPA>
Lines: 16
Nf-ID: #R:brl-smoke.ARPA:1273:ccvaxa:90800002:000:570
Nf-From: ccvaxa.UUCP!aglew    Jun 24 07:56:00 1986