TSORT ( 1 ) USER COMMANDSTSORT ( 1 )


NAME

tsort - topological sort

SYNOPSIS

tsort [ options ] [ file ]

DESCRIPTION

tsort writes to the standard output a totally ordered list of items consistent with a partial ordering of items contained in the input file. If file is omitted then the standard input is read.

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.

SEE ALSO

comm(1), sort(1), uniq(1)

IMPLEMENTATION

version

tsort (AT&T Research) 2000-03-23
author

David Korn <dgkorn@gmail.com>
author

Glenn Fowler <glenn.s.fowler@gmail.com>
copyright

Copyright © 1995-2012 AT&T Intellectual Property
license

http://www.eclipse.org/org/documents/epl-v10.html