mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 17:58:42 +00:00
Update cheatsheets
This commit is contained in:
20
tsort
Normal file
20
tsort
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tsort
|
||||
|
||||
> Perform a topological sort.
|
||||
> A common use is to show the dependency order of nodes in a directed acyclic graph.
|
||||
> More information: <https://www.gnu.org/software/coreutils/tsort>.
|
||||
|
||||
- Perform a topological sort consistent with a partial sort per line of input separated by blanks:
|
||||
|
||||
`tsort {{path/to/file}}`
|
||||
|
||||
- Perform a topological sort consistent on strings:
|
||||
|
||||
`echo -e "{{UI Backend
|
||||
Backend Database
|
||||
Docs UI}}" | tsort`
|
||||
Reference in New Issue
Block a user