UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: tabsAppendix B
Obsolete Commands
Next: Reference: unpack
 

tsort

/usr/ccs/bin/tsort [file]

Perform a topological sort on file. Typically used with lorder to reorganize an archive library for more efficient handling by ar or ld. Not very useful. See also lorder.

Example

Find the ordering relationship of all object files, and sort them for access by ld:

ld -o myprog `lorder *.o | tsort`


Previous: Reference: tabsUNIX in a Nutshell: System V EditionNext: Reference: unpack
Reference: tabsBook IndexReference: unpack

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System