logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

stilts-calc - Evaluates expressions

Author

       Mark Taylor (Bristol University)

                                                    Mar 2017                                      STILTS-CALC(1)

Description

calc  is  a  very  simple utility for evaluating expressions. It uses the same expression evaluator as is
       used in tpipe and the other generic table tasks for things like creating new columns, so it can  be  used
       as a quick test to see what expressions work, or in order to evaluate expressions using the various alge‐
       braic  functions  documented  in  SUN/256.  Since usually no table is involved, you can't refer to column
       names in the expressions. It has one mandatory parameter, the expression to evaluate, and writes the  re‐
       sult to the screen.

Name

       stilts-calc - Evaluates expressions

Options

expression=<expr>
              An expression to evaluate. The functions in SUN/256 can be used.

       table=<table>
              A table which provides the context within which expression is evaluated. This parameter is option‐
              al,  and  will  usually  not be required; its only purpose is to allow use of constant expressions
              (table parameters) associated with the table. These can be referenced  using  identifiers  of  the
              form param$*, ucd$* or utype$* - see SUN/256 for more detail.

See Also

stilts(1)

       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

Synopsis

stiltscalc [expression=<expr>] [table=<table>]

Version

       STILTS version 3.5.1-debian

       This  is the Debian version of Stilts, which lack the support of some file formats and network protocols.
       For differences see
       file:///usr/share/doc/stilts/README.Debian

See Also