[WCSTools Utility Programs]

gettab
Command Line Arguments

filename
Name of a tab table file. At least one of these must be present for any values to be printed. If it is stdin or STDIN, a tab table is expected as standard input. If there is no input file, standard input is assumed.
@filename
Name of a file containing a list of tab table files. If this is present, any other file names on the command line will be ignored.
column
Print value of this column name for every line of table meeting, or at least those meeting any conditions set on the command line.
column@name
Print value of this column name for every line of table meeting, or at least those meeting any conditions set on the command line. Use name instead of column for output header or assignment. There can be no spaces between column, the dollar sign, and name. See example 5 or example 6.
column[<][=][>]value
Print results from only those table lines where the value in column is either less than, equal to, or greater than value. There can be no spaces between column, the comparison character, and value. See example 5 or example 6.
-e
Print output as keyword=value assignments which may be used as input to the sethead program. See example 6
-h
Print column headings, in order, but not necessarily aligned.
-n num
Set the number of decimal places to appear in numeric output.
-t
Print output in tab-separated table format, with column headers. See example 4 or example 5.
-v
Print more information about process. See example 2.

Last updated 03 August 2018 by Jessica Mink

Telescope Data Center