treesize(1)

πŸ’– treesize(1) β€” General Commands Manual πŸŽ€

okay bestie, welcome to treesize, a lil cutie from the General Commands Manual section πŸ’… she is small, she is focused, and she does exactly one thing: she counts leaves. yes, leaves. like, of trees. phylogenetic trees. not the leafy kind, the PRIME kind 🌳✨


✨ NAME ✨

treesize β€” Count the leaves of trees. πŸ“


🌸 SYNOPSIS 🌸

treesize [OPTIONS] [treefile]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea, bestie: treesize counts the leaves of trees, and the output is a list of leaf names, one leaf per row. One. Per. Row. Very orderly, very demure, very mindful πŸ’…

And if there are multiple trees in the input file, you're gonna get an empty line separating the leaves of each tree β€” so you can tell where one tree's leaves stop and the next one's begin 🫢

Now, about treefile: that's the filename of the file containing trees in PRIME format. That's the whole vibe. That's the whole thing. πŸ”₯


πŸ’… OPTIONS πŸ’…

  • --help β€” Display help (this text). literally it just shows you the text you're reading rn, iconic behaviour 😌
  • -V, --version β€” Print version and exit. short and sweet, she says her name and dips πŸ‘‘
  • -S, --read-tree-from-stdin β€” read tree from STDIN (no <treefile>). so like, no filename needed, she'll just take it from the pipe 🧚
  • -f, --input-format beepOrHybrid|inputxml β€” The input format. Default is beepOrHybrid. so your choices are beepOrHybrid or inputxml, and if you don't say anything she's going with beepOrHybrid πŸ’œ

πŸ”₯ EXIT STATUS πŸ”₯

  • 0 β€” Successful program execution. she did it, she ate, no crumbs ✨
  • 1 β€” Some error occurred. something went sideways bestie, we're not okay 😭

🌈 URL 🌈

The prime-phylo home page: http://prime.sbc.su.se β€” go say hi πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

primeDTLSR(1), primeDLRS(1), primeGEM(1), chainsaw(1), reconcile(1), reroot(1), tree2leafnames(1), showtree(1)

like, the whole friend group fr fr 🫢


and that's the page, bestie!! πŸŽ€ this was prime-phylo version 1.0.11, dated 13 Mar, 2012 β€” yeah she's an elder icon, a vintage queen, and she still counts leaves like it's day one πŸ’…πŸŒ³βœ¨ periodt.