On Oct 15, 2008, at 3:06 AM, Simon Michael wrote:

While working on hledger, I found a few more ledger 2.6 quirks. I wonder if these are accurate/intended ?

- in register report, account patterns always match against the full account name

That's correct. /foo/ matches against the full name, //foo/ against the partial name.

- but in balance report, account patterns match only the account's leaf name, except when they contain : or are negative patterns

That sounds odd!

- if an entry contains different commodities, ledger doesn't require it to balance

Not exactly true. Ledger requires that the *basis cost* balances to zero. You have to use --basis to see this, in which case the commodities disappear.

That is, 100 AAPL at $10 per share balances against $-1000.00, even though in the balance sheet it will print as two separate totals.

John

Reply via email to