Hi, Peter --

> ledger --monthly --collapse reg ^assets ^liabilities
>
> If you have multiplie commodities, I think you should be able to use
> the -X option like this:
>
> ledger --monthly --collapse -X '$' reg ^assets ^liabilities

Thanks for this. It got me much closer (I was missing the "--collapse"
flag), but it still left me with two lines for each monthly entry (a
"total" line and an "adjustment" line).

However, this gives me exactly what I want for 2011:

ledger --monthly --collapse -d 'd>=[2011]' -F '%10(date) \ 
 %14(display_total)\n' reg ^assets ^liabilities -X $

Thanks --

John
-- 
John Rakestraw

Reply via email to