Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 21:30:43 -0500
From:      "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "Corey Snow" <corey@snowpoint.com>, "Marty Landman" <marty@face2interface.com>
Cc:        "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I repeat a command N times?
Message-ID:  <00a801c227b9$cad22d40$1cec910c@fbccarthage.com>
References:  <00fd01c2277f$e67eba70$0801a8c0@customfilmeffects.com> <3D2B3074.9426.941E460@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <corey@snowpoint.com>
To: "Marty Landman" <marty@face2interface.com>
Cc: "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a801c227b9$cad22d40$1cec910c>