Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tsort

Some strings on this page have not been translated yet. You can help by translating them on Weblate.
v(uutils coreutils) 0.8.0
tsort [OPCIONES] ARCHIVO

Ordenamiento topológico de las cadenas en ARCHIVO. Las cadenas se definen como cualquier secuencia de tokens separados por espacios en blanco (tabulación, espacio, o nueva línea), ordenándolos basado en dependencias en un grafo acíclico dirigido (DAG). Útil para programación y determinar orden de ejecución. Si ARCHIVO no se pasa, se usa stdin en su lugar.

Options

-w

Examples

The examples have not been translated yet and are shown in English. You can help by translating them on tldr-pages.

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

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.