On Sat, 8 Apr 2017 22:02:52 +0100
James Harris wrote:
> On 08/04/2017 21:30, Mike wrote:
> > In article ,
> > Ahem A Rivet's Shot wrote:
> >
> >>>> Easy enough to do, say you want the next 70 lines then:
> >>>>
> >>>> "a70yy
> >>>> :e t
> >>>> "aP
> >>>> :w
> >>>> :rew
> >>>>
> >>>> Then in the other window
> >>>>
> >>>> :r t
> >>>> :!rm t
> >
> >> For anyone puzzled that's:
> >
> > Well, I wasn't puzzled. I was 100% sure a cat had walked across
> > the keyboard while you were posting ... :)
>
> I use vi a lot but didn't know any of that! In other words, that was
> from the advanced vi obfuscation class. ;-)
Wow! I think of that as fairly basic, just buffers and simple
file manipulation (opening, reading, rewind), the kind of thing I do without
thinking (at least until I lose track of what's in which buffer) - unlike
say.
:.-2,.+5!sort
Or
!}tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
Or using map which always makes me think too hard, or playing clever
games with the 9 cut buffers to shuffle text around which takes far too
much concentration to get right.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|