row - select rows from a starbase data table.
SYNOPSYS
row 'selection expression' < tablefile
DESCRIPTION
row reads a starbase data table from its standard input and prints the rows for
which the selection expression evaluates to true on the standard output. The
expression should be a valid awk language expression and may contain references
to column names and header keyword values.
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
row and select are the same program. They are implemented by wrapping the
users selection expression into an awk language program and calling the awk
interpreter. The text of the program is simple the selection expression
itself. This works because awk's default action is to print the row to the
standard output.
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.