2014-10-20 04:53:20 +04:00
|
|
|
# 1.
|
2014-05-07 08:00:49 +04:00
|
|
|
hledgerdev -f sample.journal balance --no-total --depth 1
|
2009-06-27 12:16:19 +04:00
|
|
|
>>>
|
|
|
|
$-1 assets
|
|
|
|
$2 expenses
|
|
|
|
$-2 income
|
|
|
|
$1 liabilities
|
2011-08-15 02:15:39 +04:00
|
|
|
>>>=0
|
2011-09-23 06:04:33 +04:00
|
|
|
|
2014-10-20 04:53:20 +04:00
|
|
|
# 2. Depth 0 aggregates everything into one line
|
|
|
|
hledgerdev -f sample.journal balance --no-total --depth 0
|
|
|
|
>>>
|
|
|
|
0 ...
|
|
|
|
>>>=0
|
|
|
|
|
|
|
|
# 3. Ditto in a multi-column balance report.
|
|
|
|
hledgerdev -f sample.journal balance -M -e 2008/4 --depth 0
|
|
|
|
>>>
|
|
|
|
Balance changes in 2008/01:
|
|
|
|
|
|
|
|
|| 2008/01
|
|
|
|
=====++==========
|
|
|
|
... || 0
|
|
|
|
-----++----------
|
|
|
|
|| 0
|
|
|
|
|
|
|
|
>>>=0
|
|
|
|
|