mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
1b71f91a01
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
16 lines
521 B
Plaintext
16 lines
521 B
Plaintext
|
|
\section math math - Perform mathematics calculations
|
|
|
|
\subsection math-synopsis Synopsis
|
|
<tt>math EXPRESSION</tt>
|
|
|
|
\subsection math-description Description
|
|
|
|
math is used to perform mathematical calcualtions. It is only a very
|
|
thin wrapper for the bc program, that makes it possible to specify an
|
|
expression from the commandline without using non-standard extensions
|
|
or a pipeline. Simply use a command like <code>math 1+1</code>.
|
|
|
|
For a description of the syntax supported by math, see the manual for
|
|
the bc program.
|