2014-10-20 04:53:20 +04:00
|
|
|
# 1.
|
2015-07-12 21:54:08 +03:00
|
|
|
hledger -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
|
2015-07-12 21:54:08 +03:00
|
|
|
hledger -f sample.journal balance --no-total --depth 0
|
2014-10-20 04:53:20 +04:00
|
|
|
>>>
|
|
|
|
0 ...
|
|
|
|
>>>=0
|
|
|
|
|
|
|
|
# 3. Ditto in a multi-column balance report.
|
2015-07-12 21:54:08 +03:00
|
|
|
hledger -f sample.journal balance -M -e 2008/4 --depth 0
|
2014-10-20 04:53:20 +04:00
|
|
|
>>>
|
|
|
|
Balance changes in 2008/01:
|
|
|
|
|
2018-03-29 16:54:36 +03:00
|
|
|
|| Jan
|
|
|
|
=====++=====
|
|
|
|
... || 0
|
|
|
|
-----++-----
|
|
|
|
|| 0
|
2014-10-20 04:53:20 +04:00
|
|
|
>>>=0
|
|
|
|
|