Article View: net.text
Article #936"vi" questions
From: Will Martin
Date: Wed, 11 Jun 1986 14:44
Date: Wed, 11 Jun 1986 14:44
29 lines
1614 bytes
1614 bytes
Hi!
I hope this group (net.text) is the right one for these questions; I'm
afraid they are rather simplistic compared to the more advanced topics
this group seems to concentrate upon (based on a review of recent
subject lines) but I don't know where else to ask. They could not be
answered by our most experienced local users of "vi", and I guess I
am the next-most-experienced vi user here, so I must turn to the net
for aid. ("Here" is an Army activity in St. Louis called "ALMSA".)
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.
(For the former, I've tried various combinations of ^$ and
Ctrl-V-Return, but none have worked. For the latter, I would suppose
that "/^(81 dots)$" would find lines over 80 characters long, but
that is hardly practical. I would expect there to be a more elegant
solution... :-)
Advice & help appreciated!
Regards,
Will Martin
UUCP/USENET: seismo!brl-smoke!wmartin or ARPA/MILNET: wmartin@almsa-1.ARPA
Technical Details
Message-ID:
<1273@brl-smoke.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!brl-adm!brl-smoke!wmartinShow 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!burl!ulysses!allegra!princeton!caip!brl-adm!brl-smoke!wmartin From: wmartin@brl-smoke.ARPA (Will Martin ) Newsgroups: net.text Subject: "vi" questions Message-ID: <1273@brl-smoke.ARPA> Date: Wed, 11-Jun-86 10:44:13 EDT Article-I.D.: brl-smok.1273 Posted: Wed Jun 11 10:44:13 1986 Date-Received: Fri, 20-Jun-86 04:28:07 EDT Organization: USAMC ALMSA, St. Louis, MO Lines: 29 Keywords: vi lines search