STILTS-CALC(1)
β¨ STILTS-CALC β¨ (that's stilts-calc from section 1 of the manual, bestie π«Ά)
okay so literally picture this: you just want to know what an expression evaluates to, and you don't wanna spin up a whole table pipeline for it. boom. that's stilts-calc. it's a little cutie with a calculator brain and zero drama.
πΈ NAME πΈ
stilts-calc β it evaluates expressions π
that's it that's the job
π SYNOPSIS π
stilts calc [expression=<expr>] [table=<table>]
π¦ DESCRIPTION π¦
so calc is a very simple utility for evaluating expressions. like, uncomplicated on purpose. it runs on the exact same expression evaluator that tpipe and the other generic table tasks use when they're doing stuff like creating new columns. which is honestly iconic, because it means you can use calc as a quick little test to see what expressions actually work π
you can also just use it to evaluate expressions with all the various algebraic functions documented over in SUN/256. those functions? all yours. go wild.
here's the one thing to keep in your notes app though: since usually no table is involved, you can't refer to column names in the expressions. no table, no columns, no cap. π«
it's got one mandatory parameter β the expression to evaluate β and it writes the result straight to the screen. instant gratification fr fr.
π OPTIONS π
expression=<expr>β an expression to evaluate. the functions in SUN/256 can be used here, every single one of them. this is the mandatory one, don't skip it bestie.table=<table>β a table that provides the context within whichexpressionis evaluated. this parameter is optional, and usually you won't need it at all. its only purpose is to let you use constant expressions (aka table parameters) that are associated with the table. you reference those using identifiers of the formparam$*,ucd$*orutype$*β see SUN/256 for more detail. that's the whole vibe of this flag, it's very much a niche queen. π
π SEE ALSO π
if the package stilts-doc is installed, the full documentation SUN/256 is available in HTML format:
file:///usr/share/doc/stilts/sun256/index.html
π VERSION π
STILTS version 3.5.4-debian
heads up: this is the Debian version of Stilts, which lack the support of some file formats and network protocols π (yes, it really says "lack", we're keeping it, we don't edit the source material). for differences see:
file:///usr/share/doc/stilts/README.Debian
π§ AUTHOR π§
Mark Taylor (Bristol University) β the icon, the legend, the moment π«Ά
ok that's the whole page bestie, every flag, every path, every caveat, all of it. nothing skipped, nothing invented. periodt. π
signing off with all the love: this is the Debian Stilts STILTS version 3.5.4-debian, and the page itself is dated Mar 2017. slay. πβ¨
π¦ where this page comes from
- ubuntu stonking: stilts 3.5.4-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms