Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 11:58:42 -0500 
From:      Eric Six <erics@sirsi.com>
To:        "'David Smithson'" <david@customfilmeffects.com>, "FreeBSD (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: How do I repeat a command N times?
Message-ID:  <DC32C8CEB3F8D311B6B5009027DE5AD5046FA8EB@stlmail.dra.com>

next in thread | raw e-mail | index | archive | help
A simple perl script would work...

#/bin/perl
for ( $count=1; $count < 607 ; $count++ ) {
        commandtoexecute;
        }


Cheers
Eric

-----Original Message-----
From: David Smithson [mailto:david@customfilmeffects.com]
Sent: Tuesday, July 09, 2002 11:49 AM
To: FreeBSD-Questions
Subject: How do I repeat a command N times?


Hello friends.  I want to repeat a command 607 times and stop.  How do I
accomplish this besides writing a script that's 607 lines long?

--
David Smithson - Systems Administrator
Custom Film Effects




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?DC32C8CEB3F8D311B6B5009027DE5AD5046FA8EB>