31 lines
504 B
Plaintext
31 lines
504 B
Plaintext
# 1. One commodity. Zero accounts should be elided but the final total should not.
|
|
bin/hledger -f - balance
|
|
<<<
|
|
2010/04/01 tr1
|
|
a 16$
|
|
b -16$
|
|
|
|
2010/04/02 tr2
|
|
a -16$
|
|
b 16$
|
|
>>>
|
|
--------------------
|
|
0
|
|
>>>=0
|
|
|
|
# 2. Two commodities. As above, and the final total should be a single commodityless zero.
|
|
bin/hledger -f - balance
|
|
<<<
|
|
2010/04/01 tr1
|
|
a 16$ @@ 10€
|
|
b -10€
|
|
|
|
2010/04/02 tr2
|
|
a -16$
|
|
b 10€ @@ 16$
|
|
>>>
|
|
--------------------
|
|
0
|
|
>>>=0
|
|
|