From owner-freebsd-chat Wed Jun 23 4:19:33 1999 Delivered-To: freebsd-chat@freebsd.org Received: from www0x.netaddress.usa.net (www0x.netaddress.usa.net [204.68.24.53]) by hub.freebsd.org (Postfix) with SMTP id 1968614BB8 for ; Wed, 23 Jun 1999 04:19:25 -0700 (PDT) (envelope-from jesus.monroy@usa.net) Received: (qmail 15177 invoked by uid 60001); 23 Jun 1999 11:19:24 -0000 Message-ID: <19990623111924.15176.qmail@www0x.netaddress.usa.net> Received: from 204.68.24.53 by www0x via web-mailer(M3.2.0.17) on Wed Jun 23 11:19:24 GMT 1999 Date: 23 Jun 99 04:19:24 PDT From: Jesus Monroy To: chris@calldei.com, Jesus Monroy Subject: Re: [Re: vi(1) is for whimps] Cc: freebsd-chat@FreeBSD.org X-Mailer: USANET web-mailer (M3.2.0.17) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Costello wrote: > On Tue, Jun 22, 1999, Jesus Monroy wrote: > > vi(1) is for whimps > > http://www.geocities.com/SiliconValley/Lab/1986/viforwhimps.html > = > Well, you should've posted that to -chat... > = > Second, there are other things people use vi for. You can't > add a sentence to a paragraph with cat as easily as you could > with vi, such as: > = > So as I headed to the bakery to get some new bread, I decided > to stop at the newspaper stand and pick up the sunday paper. > = > So as I headed to the bakery to get some new, delicious white > bread, I decided to stop at the newspaper stand to pick up the > Sunday edition of the Houston Chronicle. > = > vi is for people who want to get things done the right way > with a standard tool that is meant for editing files. > = > If you want to be pedantic, you shouldn't use 'cat' at all for > editing files! cat is meant to catenate two or more files to > stdout. > = > Try ed. > = bologna, the example you gave simple point out that you didn't think about what you wanted to do in the first place. Hence, a rewrite was needed. So throw it out, don't hack it. cat(1) works fine, I write all my perl(1) scripts this way. PS:dont' fall for the bait. --- "I'd rather pay for my freedom than live in a bitmapped, = pop-up-happy dungeon like NT." http://www.performancecomputing.com/features/9809of1.shtml ____________________________________________________________________ Get free e-mail and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message