From owner-freebsd-questions Tue Jul 9 19:31: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5B3E37B400 for ; Tue, 9 Jul 2002 19:31:04 -0700 (PDT) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09E9D43E31 for ; Tue, 9 Jul 2002 19:31:03 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from daleco [12.145.236.28] by mail.gbronline.com (SMTPD32-7.10) id AC0814B7028E; Tue, 09 Jul 2002 21:29:28 -0500 Message-ID: <00a801c227b9$cad22d40$1cec910c@fbccarthage.com> From: "Kevin Kinsey, DaleCo, S.P." To: "Corey Snow" , "Marty Landman" Cc: "FreeBSD-Questions" References: <00fd01c2277f$e67eba70$0801a8c0@customfilmeffects.com> <3D2B3074.9426.941E460@localhost> Subject: Re: How do I repeat a command N times? Date: Tue, 9 Jul 2002 21:30:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG So simple. On my TRS-80 I just: 10 FOR X=1 TO 607 20 30 PRINT 40 50 PRINT "Can we stop this thread before someone submits a SNOBOL script?" 60 70 PRINT 80 90 NEXT X 100 110 END ;-) KDK ----- Original Message ----- From: "Corey Snow" To: "Marty Landman" Cc: "FreeBSD-Questions" Sent: Tuesday, July 09, 2002 8:50 PM Subject: Re: How do I repeat a command N times? > On 9 Jul 2002, at 16:25, Marty Landman wrote: > > > At 12:36 PM 7/9/02 -0700, David Smithson wrote: > > > > builtin... "repeat 10 date" > > > > > >This is -- by far -- the simplest solution and satisfies my particular need. > > > > David, imagine the blizzard of answers if you'd asked for the most > > complicated way to do this? :) > > Sniff, sniff- that a contest I smell? ;) > > I couldn't do it, but I'd be happy to judge it. Be like the "obfuscated C" contest ;) > > Rules would have to be something like- single shell command or set of > them, executable by typing at the command prompt as a single command > (ie, only have to hit enter once), but no scripts/compiled code, etc. > > Corey Snow > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message