mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-26 20:02:27 +03:00
28 lines
542 B
Plaintext
28 lines
542 B
Plaintext
# 1.
|
|
hledger -f sample.journal balance --no-total --depth 1
|
|
>>>
|
|
$-1 assets
|
|
$2 expenses
|
|
$-2 income
|
|
$1 liabilities
|
|
>>>=0
|
|
|
|
# 2. Depth 0 aggregates everything into one line
|
|
hledger -f sample.journal balance --no-total --depth 0
|
|
>>>
|
|
0 ...
|
|
>>>=0
|
|
|
|
# 3. Ditto in a multi-column balance report.
|
|
hledger -f sample.journal balance -M -e 2008/4 --depth 0
|
|
>>>
|
|
Balance changes in 2008/01:
|
|
|
|
|| Jan
|
|
=====++=====
|
|
... || 0
|
|
-----++-----
|
|
|| 0
|
|
>>>=0
|
|
|