summaryrefslogtreecommitdiff
path: root/doc/ledger.1
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-19 16:54:30 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-20 17:18:13 +0100
commit9032f49befc8e2207c149e03af25f42e6e544a97 (patch)
treeeeaa133363a1b225bada7805bf882b73fc63d880 /doc/ledger.1
parentd7f4d94c882ecf812cbd82b5e407e1622b5e2083 (diff)
downloadfork-ledger-9032f49befc8e2207c149e03af25f42e6e544a97.tar.gz
fork-ledger-9032f49befc8e2207c149e03af25f42e6e544a97.tar.bz2
fork-ledger-9032f49befc8e2207c149e03af25f42e6e544a97.zip
[doc] Document some value expressions in manpage
[ci skip]
Diffstat (limited to 'doc/ledger.1')
-rw-r--r--doc/ledger.110
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index c70be418..8f7a3be0 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -925,6 +925,9 @@ interpret parentheses, you should always escape them:
.El
.Sh EXPRESSIONS
.Bl -tag -width "partial_account"
+.It Fn abs value
+Return the absolute value of the given
+.Ar value .
.It Nm account
.It Nm account_base
.It Nm account_amount
@@ -943,22 +946,29 @@ is true. It typically checks the value of the option
for example:
.Dl ansify_if(amount, "blue", options.color)
.It Nm beg_line
+Line number where entry for posting begins.
.It Nm beg_pos
+Character position where entry for posting begins.
.It Nm calculated
.It Nm cleared
.It Nm code
+Return the transaction code, the string between the parenthesis after the date.
.It Nm comment
.It Nm commodity
.It Nm cost
.It Nm count
.It Nm date
+Return the date of the posting.
.It Nm depth
.It Nm depth_spacer
.It Nm display_amount
.It Nm display_total
.It Nm end_line
+Line number where entry for posting ends.
.It Nm end_pos
+Character position where entry for posting ends.
.It Nm filename
+The name of the ledger data file from whence the posting came.
.It Nm format_date
.It Nm get_at
.It Nm has_meta