66 lines
514 B
Plaintext
66 lines
514 B
Plaintext
|
|
|
|
|
|
|
|
|
|
Command: tsort - topological sort [IBM]
|
|
Syntax: tsort file
|
|
Flags: (none)
|
|
Examples: lorder *.s | tsort # Give library ordering
|
|
ar cr libc.a `lorder *.s | tsort` # Build library
|
|
|
|
Tsort accepts a file of lines containing ordered pairs and builds a
|
|
total ordering from the partial orderings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|