home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: tabs UNIX in a Nutshell: System V Edition Next: Reference: unpack
Reference: tabs Book Index Reference: 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