🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3444

Re: Vi bashing [was: CRISP (yet again)]

#3444
From: Adam Moskowitz
Date: Thu, 16 Mar 1989 21:35
21 lines
1332 bytes
In article <4048@ttidca.TTI.COM>, kevin@ttidca.TTI.COM (Kevin Carothers) wrote:
< I am continuously amazed at the lack of knowledge about Vi some of the 
< people who post to this newsgroup display!
< 
< NO, you DO NOT have to count lines! 
< Quit posting for a minute and watch my fingers:
< 
< 1.  Mark the beginning and end of your block of text 
<     Lets say the beginning is register "a", and the end is "b".
< 
< 2.  Enter the following command:
<     :'a,'bw !wc -l

Why bother with all the extra work? Mark the beginning of the block with
"ma", go to the end of the block and type "d`a" and voila! Now go to where
you want this block of text to be and type "p". No counting lines, only one
mark, no extra processes. Sheesh, talk about "lack of knowledge"! semi :-)
-- 
Adam S. Moskowitz	            ...!(backbone)!{necntc,encore}!necis!adamm

          "To err is human; to forgive is simply not our policy."
Technical Details
Message-ID: <989@necis.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!encore!necis!adamm
References: <4048@ttidca.TTI.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!encore!necis!adamm
From: adamm@necis.UUCP (Adam Moskowitz)
Newsgroups: comp.editors
Subject: Re: Vi bashing [was: CRISP (yet again)]
Message-ID: <989@necis.UUCP>
Date: 16 Mar 89 21:35:22 GMT
References: <4048@ttidca.TTI.COM>
Organization: NEC Information Systems, Boxborough, MA
Lines: 21