dep-trace
gdeptrace dependancy solver correct for pkg or make deps
gdeptrace sorts an input dependancy list or table and prints it, and can do other actions. It's default operation is to act like tsort (1) except that it sorts by pure pkg / make dependancy (tsort sorts by grapical topology: see notes about differences).
EXAMPLE:
$ echo -e "b e\ne\nc b" | sort -k1,1 | gdeptrace [opts]
e
b
c
(b depends on e, c depends on b, e has no depends)
(also: e has more items depending on it and is below anything it depends on; in this case...