On May 13, 2009, at 12:18 AM, Tim Docker wrote:
I'm a bit intrigued by this. How does this fit with multi commodity
ledgers? eg consider the following:
tim:~/src/ledger-2.6.1$ cat /tmp/t2
2004/05/01 Stock purchase
Assets:Broker 50 AAPL @ $30.00
Expenses:Broker:Commissions $19.95
Assets:Broker
2004/06/02 Give Stock away
Assets:Broker -50 AAPL @ $0.00
Expenses:Gifts:Friend
tim:~/src/ledger-2.6.1$ ./ledger -s -f /tmp/t2 bal
$-1519.95 Assets:Broker
$19.95 Expenses:Broker:Commissions
--------------------
$-1500.00
tim:~/src/ledger-2.6.1$
I seem to have ended up with a non-zero ledger balance. What am I
missing?
Ah, but the costs sum to zero, this is what Ledger balances. If you
use the -B flag, you'll see that report.
John