Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tsort(1) — SunOS 5.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lorder(1)

tsort(1)

NAME

tsort − topological sort

SYNOPSIS

/usr/ccs/bin/tsort [filename]

DESCRIPTION

The tsort command produces on the standard output a totally ordered list of items consistent with a partial ordering of items mentioned in the input filename. If no filename is specified, the standard input is understood. 

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

SEE ALSO

lorder(1)

DIAGNOSTICS

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

tsort returns exit code 1 if the file specified is not found. 

SunOS 5.4  —  Last change: 5 Jul 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026