jointable - join two ASCII tab tables on matching key columns.
SYNOPSYS
jointable [-an] [-vn] [-j column] [-1 column -2 column] table1 table2
OPTIONS
- -j column
- join on the column form both files.
- -1 column
- join on the column from file 1
- -2 column
- join on the column from file 2
- -An
- in addition to the normal output, produce a
line for each unpairable line in file n,
where n is 1 or 2.
- -vn
- print only the unpairable lines from file n
- -a
- Compare using the ASCII collating sequence (default).
- -n
- Compare according to arithmetic value. an initial
numeric string consisting of optional white space, an
optional - sign, and zero or more digits, optionally
followed by a decimal point and zero or more digits.
- -h
- Like -n except sexadecimal values are allowed (HH:MM:SSS.SS etc).
- -r
- Reverse the result of comparison, so that lines with
greater key values appear earlier in the output instead
of later.
- -D
- print out the intended arvg just before calling sort.
DESCRIPTION
jointable uses the unix join program to join two ASCII tab table.
NOTES
jointable currently only handles table file with simple headers.
Care must to taken when printing the unpairable line. The column
names can become misaligned when using the -a2 switch.
SEE ALSO
- sorttable
- sort an ASCII tab table by specified columns.
- join
- join lines of two files on a common field.
- starbase.1
- ASCII tab tables introduction.