Man page - stilts-tcatn(1)
Packages contas this manual
- stilts-mocshape(1)
- stilts-tskymap(1)
- stilts-calc(1)
- stilts(1)
- stilts-tskymatch2(1)
- stilts-cone(1)
- stilts-funcs(1)
- stilts-tmatchn(1)
- stilts-plot3d(1)
- stilts-taplint(1)
- stilts-tgroup(1)
- stilts-cdsskymatch(1)
- stilts-coneskymatch(1)
- stilts-regquery(1)
- stilts-tapresume(1)
- stilts-tmatch1(1)
- stilts-tcat(1)
- stilts-plot2corner(1)
- stilts-votcopy(1)
- stilts-tpipe(1)
- stilts-tcopy(1)
- stilts-arrayjoin(1)
- stilts-tgridmap(1)
- stilts-pixfoot(1)
- stilts-tmulti(1)
- stilts-plot2plane(1)
- stilts-plot2d(1)
- stilts-sqlupdate(1)
- stilts-tjoin(1)
- stilts-sqlclient(1)
- stilts-tmatch2(1)
- stilts-plot2time(1)
- stilts-datalinklint(1)
- stilts-plot2cube(1)
- stilts-tapquery(1)
- stilts-xsdvalidate(1)
- stilts-tapskymatch(1)
- stilts-votlint(1)
- stilts-plot2sky(1)
- stilts-tloop(1)
- stilts-plothist(1)
- stilts-tcatn(1)
- stilts-plot2sphere(1)
- stilts-pixsample(1)
- stilts-tcube(1)
- stilts-sqlskymatch(1)
- stilts-tmultin(1)
apt-get install stilts
Manual
| STILTS-TCATN(1) | Stilts commands | STILTS-TCATN(1) |
NAME
stilts-tcatn - Concatenates multiple tables
SYNOPSIS
stilts tcatn [nin=<count>] [ifmtN=<in-format>] [inN=<tableN>] [icmdN=<cmds>] [ocmd=<cmds>] [omode=out|meta|stats|count|checksum|cgi|discard|topcat|samp|tosql|gui] [out=<out-table>] [ofmt=<out-format>] [seqcol=<colname>] [loccol=<colname>] [uloccol=<colname>] [countrows=true|false]
DESCRIPTION
tcatn is a tool for concatenating a number of tables one after the other. Each table can be manipulated separately prior to the concatenatation. 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 tcatn 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.
For this concatenation to make sense, each column of T1 must be compatible with the corresponding column of T2 - they must have compatible types and, presumably, meanings. If this is not the case for the tables that you wish to concatenate, for instance the columns are in different orders, or the units differ between a column in T1 and its opposite number in T2, you can use the icmd1 and/or icmd2 parameters to manipulate the input tables so that the column sequences are compatible. See SUN/256 for some examples.
If the tables are similar to each other (same format, same columns, same preprocessing stages required if any), you may find it easier to use tcat instead.
OPTIONS
- A filename.
- A URL.
- The special value "-", meaning standard input. In this case the input format must be given explicitly using the ifmtN parameter. Note that not all formats can be streamed in this way.
- A scheme specification of the form :<scheme-name>:<scheme-args>.
- A system command line with either a "<" character at the start, or a "|" character at the end ("<syscmd" or "syscmd|"). This executes the given pipeline and reads from its standard output. This will probably only work on unix-like systems.
In any case, compressed data in one of the supported compression formats (gzip, Unix compress or bzip2) will be decompressed transparently.
Commands may alternatively be supplied in an external file, by using the indirection character '@'. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a '#' character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
Commands may alternatively be supplied in an external file, by using the indirection character '@'. Thus a value of "@filename" causes the file filename to be read for a list of filter commands to execute. The commands in the file may be separated by newline characters and/or semicolons, and lines which are blank or which start with a '#' character are ignored. A backslash character '\fR' at the end of a line joins it with the following line.
Possible values are
- out
- meta
- stats
- count
- checksum
- cgi
- discard
- topcat
- samp
- tosql
- gui
Use the help=omode flag or see SUN/256 for more information.
This parameter must only be given if omode has its default value of "out".
This parameter must only be given if omode has its default value of "out".
SEE ALSO
stilts(1)
If the package stilts-doc is installed, the full documentation
SUN/256 is available in HTML format:
file:///usr/share/doc/stilts/sun256/index.html
VERSION
STILTS version 3.5.2-debian
This is the Debian version of Stilts, which lack the support of
some file formats and network protocols. For differences see
file:///usr/share/doc/stilts/README.Debian
AUTHOR
Mark Taylor (Bristol University)
| Mar 2017 |