TSORT(1)

πŸ“¦ version 0.12.0, in arch rolling

πŸ’… 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