Xref: utzoo comp.editors:634 alt.flame:5654 Path: utzoo!attcan!lsuc!ncrcan!hcr!stacey From: stacey@hcr.UUCP (Stacey Campbell) Newsgroups: comp.editors,alt.flame Subject: Re: Vi bashing Keywords: holy mackerel Message-ID: <175@hcr.UUCP> Date: 5 Apr 89 20:50:01 GMT References: <587@alice.marlow.uucp> <4048@ttidca.TTI.COM> <960@myrias.UUCP> <24@hcr.UUCP> <4129@ttidca.TTI.COM> Reply-To: stacey@hcrvax.UUCP (Stacey Campbell) Organization: HCR Corporation, Toronto Lines: 34 In article <4129@ttidca.TTI.COM> kevin@ttidcb.tti.com (Kevin Carothers) writes: >In article 601 <24@hcr.UUCP> stacey@hcr.UUCP (Stacey Campbell) > >>You gotta see this to believe it, truly a case of the moronic >>leading the blind. > >You are flaming me for something which is *YOUR* misconception. Wrong. The original question by the beginner user was "I want to delete lines in vi, but I need to know an easy way to count the lines for deletion?" This implies that user knew only one way to delete lines in vi, namely [integer]dd So you, my extremely misguided friend, offer; 'a,'bw! wc -l to achieve the calculation of the integer. This amounts to a minimum of two execs and one fork (more likely two) to count a range of marked lines so that a value can be prefixed to dd. Obviously an extremely expensive and stupid way to delete lines. >For the benefit of *your* reality I'd suggest following the discussion >more closely. It is obvious you have failed utterly to follow the discussion, I suggest you closely read all articles before you attempt to flame lest you look even more like a twit. -- Stacey Campbell, HCR Corporation, {lsuc,utzoo,utcsri}!hcr!stacey