DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

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 .


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003