table - a program for manipulating ascii tab tables.
SYNOPSYS
table 'program' < tablefile
DESCRIPTION
table allows a complete awk language program to be run on an ascii tab table
input file. The program may be processed for $column name substitutions,
header value indexing, and undefined function inclusion but is otherwise
unaltered. Column name substitution and header value indexing are controlled
with the -h switch. Undefined function inclusion is always done but may
be disabled by unsetting the TABLEFUNCTIONS environment variable.
OPTIONS
- -r
- Read in an ascii tab table header. The header is read from the
standard input or from a reference file given with the -H option.
- -p
- Print the ascii tab table header on the standard output before
executing the awk program. The -p option implies -r.
- -h
- Use the header read in to make $column substitutions while translating
the awk program. The -h option implies -r.
- -i file
- Read input from file.
- -o file
- Write output to file.
- -D
- Print out the awk program to be executed before forking.
- -H
- Specify an alternate file for the ascii tab table header. When the -H
option is given the input file should not have a header.
DETAILS
table is the base program for table row manipulation. Row, select, calc,
reckon, compute and validate are all implimented as links to table.
ENVIRONMENT
- TABLEAWK
- the name of the awk interpreter to execute. The default
interpreter is tawk.
- TABLEFUNCTIONS
- a path specifying directories to find the source for
undefined functions.
SEE ALSO
- <starbase.1>
- ascii tab tables introduction.
- <starbase.5>
- ascii tab table file format.
- <#mawk>
- an implimentation of the awk programming language by Mike Brennan.
- <#tawk>
- awk language extensions implimented at SAO.
- <#slalink>
- a tawk extension for inclusion of the slalib astrometry
libraries.