See the UNIX Programmers Manual or via % man csh
% repeat 5 cat one >> five
will make 5 copies of the file 'one' in the file 'five'.
% repeat 10 /bin/sh -c "(ps; sleep 5)"
will do a ps and then wait 5 seconds. This will happen 10 times.
(Since repeat is a csh command, and since csh interprets parentheses
as part of a "for" construct, we must invoke the Bourne shell and pass
the multiple commands in parentheses. These are protected from csh by
means of the double-quotes. The -c option causes sh to use the quoted
string as a command.)