mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-04 00:25:40 +03:00
5756535272
* tsort: Add an actual example with a string The current example doesn't show what path/to/file should be like (or provide a concrete example) * Apply placeholder Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Add - e to the echo cmd Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
434 B
434 B
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\nBackend Database\nDocs UI}}" | tsort