BSD 2.11 - man page for tsort (bsd section 1)
|Linux & Unix Commands - Search Man Pages
tsort - topological sort
tsort [ file ]
Tsort produces on the standard output a totally ordered list of items consistent with a
partial ordering of items mentioned in the input file. If no file is specified, the stan-
dard input is understood.
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
Odd data: there is an odd number of fields in the input file.
Uses a quadratic algorithm; not worth fixing for the typical use of ordering a library ar-
7th Edition April 29, 1985 TSORT(1)
All times are GMT -4. The time now is 01:15 AM.