DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

tsort(CP)


tsort -- topological sort

Syntax

tsort [file]

Description

The tsort(CP) command produces on 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, standard input is understood.

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

Diagnostics

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

See also

lorder(CP)

Standards conformance

tsort(CP) is conformant with:

X/Open Portability Guide, Issue 3, 1989 .


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005