4.3BSD-Tahoe/usr/man/cat1/tsort.0

Compare this file to the similar file:
Show the results in this format:




TSORT(1)	    UNIX Programmer's Manual		 TSORT(1)



NNAAMMEE
     tsort - topological sort

SSYYNNOOPPSSIISS
     ttssoorrtt [ file ]

DDEESSCCRRIIPPTTIIOONN
     _T_s_o_r_t produces on the standard output a totally ordered list
     of items consistent with a partial ordering of items men-
     tioned in the input _f_i_l_e.	If no _f_i_l_e is specified, the
     standard input is understood.

     The input consists of pairs of items (nonempty strings)
     separated by blanks.  Pairs of different items indicate ord-
     ering.  Pairs of identical items indicate presence, but not
     ordering.

SSEEEE AALLSSOO
     lorder(1)

DDIIAAGGNNOOSSTTIICCSS
     Odd data: there is an odd number of fields in the input
     file.

BBUUGGSS
     Uses a quadratic algorithm; not worth fixing for the typical
     use of ordering a library archive file.




























Printed 7/9/88		 April 29, 1985                         1