Next Previous Up Contents
Next: Usage
Up: Command Reference
Previous: Examples


A.2 tcat: Table Concatenater

tcat is a tool for concatenating tables one after the other. If you have two tables T1 and T2 which contain similar columns, and you want to treat them as a single table, you can use tcat to produce a new table whose metadata (row headings etc) comes from T1 and whose data consists of all the rows of T1 followed by all the rows of T2. This will only work if the columns of the two tables to be joined have the same or compatible types in the same order; if they do not, you must use the icmd parameters to preprocess the input tables so that the column sequences are compatible.

In the current release of STILTS, tcat is rather rudimentary: you can only join two tables at once, you must arrange for the columns to be in the right order, and you may end up with an unhelpful error if the columns in matching positions are not of compatible types. Behaviour will be improved in a future release.


Next Previous Up Contents
Next: Usage
Up: Command Reference
Previous: Examples

STILTS - Starlink Tables Infrastructure Library Tool Set
Starlink User Note 256
STILTS web page: http://www.starlink.ac.uk/stilts/
Author email: m.b.taylor@bristol.ac.uk