From: thomas@thwieck.han.de (Thomas Wieckhorst) Subject: Re: Long lines in vi (elvis) Date: 15 Apr 1993 10:26:30 GMT
Charles Hannum (mycroft@hal.gnu.ai.mit.edu) wrote:
: I have yet to see a clone which does it right.
: For the uninitiated, in vi:
: 8 - goes into the global argument register
: dd - deletes (8) lines
: 4 - replaces the global argument register
: . - repeats the `dd'; deletes 4 lines because the register changed
: . - repeats the `dd', again deleting 4 lines
: One clone repeats the whole `8dd', deleting 32 lines for the first `.';
: one ignores the `4'; one gets the `4' but forgets it later; etc.
Hallo,
As I see your posting, I have tested my vi (elvis) on my linux-machine and
it does exactly what you want to do.
After an "8dd4.." it has exactly deleted 16 lines from my text.
thomas
posting from yet another galaxie
-- Thomas Wieckhorst +49 5192 18848 thomas@thwieck.han.de Kiefernweg 12 GERMANY 3042 Munster / Breloh 1