tsort

topological sort 

Command


SYNOPSIS

tsort [file]


DESCRIPTION

tsort reads input from file or from the standard input if you do not specify a file and produces a totally ordered list of items consistent with a partial ordering of items provided by the input.

Input to tsort takes the form of pairs of items (non-empty strings) separated by blanks. A pair of two different items indicates ordering. A pair of identical items indicates presence, but not ordering.


DIAGNOSTICS

Possible exit status values are:

0 

Successful completion.

>0 

An error occurred.


PORTABILITY

UNIX System V. 4.2 BSD UNIX and up. Windows 8.1. Windows Server 2012 R2. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022.


AVAILABILITY

PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


PTC MKS Toolkit 10.4 Documentation Build 39.