compute - compute new values for starbase data table columns.

SYNOPSYS

compute 'statements' < tablefile

DESCRIPTION

compute executes a list of statements on a starbase data table. It is very useful for computing values for new columns in a table.

OPTIONS

-D
Print out the awk program to be executed before forking.
-H
Specify an alternate file for the starbase data table header. When the -H option is given the input file should not have a header.

DETAILS

compute is implemented by wrapping the user statement into an awk language statement block and calling the awk interpreter. The text of the program is:
	{	< statements >	}

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
starbase data table introduction.
starbase.5
starbase data table file format.
mawk
an implementation of the awk programming language by Mike Brennan.
tawk
awk language extensions implemented at SAO.
slalink
a tawk extension for inclusion of the slalib astrometry libraries.