[Previous] [Next] [Up] [Top] [Edit]


classifytable - group together rows in a table into similar classes.


classifytable table search_expression


classifytable is used to classify or group the rows of a table into sets with similar column values. Each row in the output table is labeled with a column "SetNumber" to indicate the class to which it belongs. Rows can be classified by the matching criteria supported in the search program.


Place all target within 30 seconds of each other in the same class.

        john@panic: classifytable stars.tab -S2 RA Dec 0:00:30


classifytable is a shell script which combines search, sort and compute:


   search -s $* < $1           \
 | sorttable -u `headline < $1` \
 | sorttable -n SetNumber      \
 | reseqtable

[Previous] [Next] [Up] [Top] [Edit]