Next Previous Up Contents
Next: replacecol
Up: Processing Filters
Previous: randomview

6.1.26 repeat

Usage:

   repeat [-row|-table] <count>

Repeats the rows of a table multiple times to produce a longer table. The output table will have <count> times as many rows as the input table.

The optional flag determines the sequence of the output rows. If <count>=2 and there are three rows, the output sequence will be 112233 for -row and 123123 for -table. The default behaviour is currently -table.

The <count> value will usually be a constant integer value, but it can be an expression evaluated in the context of the table.


Next Previous Up Contents
Next: replacecol
Up: Processing Filters
Previous: randomview

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk
Mailing list: topcat-user@jiscmail.ac.uk