
REPEAT(1)              UNIX User's Manual               REPEAT(1)

NAME
     repeat - repeat a string or file

SYNOPSIS
     repeat [-]count [string | file]

DESCRIPTION
     _R_e_p_e_a_t repeatedly prints its first argument _c_o_u_n_t times.  If
     _c_o_u_n_t is negative, the argument string is repeated
     _a_b_s(_c_o_u_n_t) times, otherwise, _f_i_l_e is repeatedly printed.  If
     _f_i_l_e is missing, input is taken from the standard input,
     stored in a temporary file, and then repeated.

EXAMPLES
          repeat 10 #input from tty is reprinted 10 times
          pr file | repeat 5#pr output is repeated five times
          repeat -20 hello#20 hello's are printed
          repeat 20 hello#the file hello is repeated

SEE ALSO
     unixstat(1), series(1), maketrix(1)

AUTHOR
     Gary Perlman

BUGS
     The name _r_e_p_e_a_t is a reserved word in _c_s_h. Often, the name
     _r_e_p is used instead.

KEYWORDS
     data manipulation

Printed 5/30/85           March 5, 1985                         1

