aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/math.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-01 03:37:32 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:24 +0100
commitd282bc462578a6e47747c78d2d42883530f0d11e (patch)
treea6515e908d4fc1c400cb6cebaf79b1590b005804 /doc_src/math.txt
parent1c4223889bd729ee83aa21a3450dc28f92ade641 (diff)
Documentation update
Rework for Doxygen >1.8. Moved large parts of the documentation to a simplified format, making use of Markdown enhancements and fixing bad long options.
Diffstat (limited to 'doc_src/math.txt')
-rw-r--r--doc_src/math.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc_src/math.txt b/doc_src/math.txt
index 8e1fd3b5..887a813c 100644
--- a/doc_src/math.txt
+++ b/doc_src/math.txt
@@ -2,11 +2,13 @@
\section math math - Perform mathematics calculations
\subsection math-synopsis Synopsis
- <tt>math EXPRESSION</tt>
+\fish{syn}
+math EXPRESSION
+\endfish
\subsection math-description Description
-\c math is used to perform mathematical calculations. It is a very
+`math` is used to perform mathematical calculations. It is a very
thin wrapper for the bc program, which makes it possible to specify an
expression from the command line without using non-standard extensions
or a pipeline.
@@ -20,7 +22,7 @@ have to be escaped.
\subsection math-example Examples
-<code>math 1+1</code> outputs 2.
+`math 1+1` outputs 2.
-<code>math $status-128</code> outputs the numerical exit status of the
+`math $status-128` outputs the numerical exit status of the
last command minus 128.