2018-09-06 14:38:57 +01:00
|
|
|
# tsort
|
|
|
|
|
|
|
|
> Perform a topological sort.
|
|
|
|
> A common use is to show the dependency order of nodes in a directed acyclic graph.
|
2021-04-01 16:54:26 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/tsort>.
|
2018-09-06 14:38:57 +01:00
|
|
|
|
|
|
|
- Perform a topological sort consistent with a partial sort per line of input separated by blanks:
|
|
|
|
|
2022-12-04 09:12:49 +00:00
|
|
|
`tsort {{path/to/file}}`
|
2023-05-11 04:27:42 +01:00
|
|
|
|
|
|
|
- Perform a topological sort consistent on strings:
|
|
|
|
|
|
|
|
`echo -e "{{UI Backend\nBackend Database\nDocs UI}}" | tsort`
|