tsort(1) tsort(1)NAME tsort - sorts lines in a file topologically SYNOPSIS tsort [file] ARGUMENTS file Specifies the input file on which the sort will be performed. If this option is not specified, the standard input is understood. DESCRIPTION tsort produces on the standard output a totally ordered list of items consistent with a partial ordering of items mentioned in the input file. The input consists of pairs of items (nonempty strings) separated by blanks. Pairs of different items indicate ordering. Pairs of identical items indicate presence, but not ordering. EXAMPLES To build a new library from existing .o files, enter: ar cr library `lorder *.o | tsort` STATUS MESSAGES AND VALUES Odd data: there is an odd number of fields in the input file. LIMITATIONS Uses a quadratic algorithm; not worth fixing for the typical use of ordering a library archive file. FILES /usr/bin/tsort Executable file SEE ALSO lorder(1), sort(1), sortbib(1) January 1992 1