TSORT(1)
π tsort(1) β bestie, let's get your dependencies in ORDER β¨
okay so picture this: it's tsort, manual section 1, and it's here to put your strings in a lineup so nothing jumps the queue. iconic behavior honestly.
πΈ NAME πΈ
tsort β topological sort the strings in FILE. Strings are defined as any sequence of tokens separated by whitespace (tab, space, or newline), ordering them based on dependencies in a directed acyclic graph (DAG). Useful for scheduling and determining execution order. If FILE is not passed in, stdin is used instead.
no cap, that's the whole personality: read tokens, respect the graph, hand you back an order that actually works. π«Ά
π SYNOPSIS π
tsort [OPTIONS] FILE
π¦ DESCRIPTION π¦
Topological sort the strings in FILE. Strings are defined as any sequence of tokens separated by whitespace (tab, space, or newline), ordering them based on dependencies in a directed acyclic graph (DAG). Useful for scheduling and determining execution order. If FILE is not passed in, stdin is used instead.
let me say it again because it's giving main character energy: every token counts as a string, whitespace of any kind (tab, space, or newline β all of them, bestie) is the separator, and the ordering comes straight from the dependencies in your directed acyclic graph, aka a DAG. it's lowkey the goat for scheduling and figuring out execution order. and the cutest part? if FILE is not passed in, stdin is used instead. no file, no problem. π
β¨ OPTIONS β¨
-h,--helpβ Print help. your little "what does this do again" button, slay.-V,--versionβ Print version. for when you need to know exactly which queen you're running.
π VERSION π
v(uutils coreutils) 0.12.0
π§ reminder bestie: the whole point is the DAG β a directed acyclic graph. that's literally in the original description, so keep it in mind, iykyk.
π SEE ALSO π
(ngl there are no SEE ALSO references in this page β that's the whole manual, periodt. π )
πΈ that's the teardown! this page came from v(uutils coreutils) 0.12.0, dated 2026-09-17 β go forth and sort topologically, you absolute icon. ππ
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms