I'm trying to create a multi column report that breaks down how much was 
spent in each category over the course of a year, with each column being a 
month. To make life easier I'm trying to use the paste command to string 
together multiple ledger outputs of ledger -p <month> bal exp. However 
since I obviously don't use the same categories each month, it doesn't work 
very well. 
I saw the --empty option and it sounds like that should print out all 
accounts even if they have a 0 balance, but if I have a ledger file with 
2013/09/10 * Mcdonalds
    Expenses:Food:Dining                      $12.00
    Assets:Cash

2013/09/10 * Circle K
    Expenses:Food:Junk                         $7.00
    Expenses:Gambling                          $4.00
    Assets:Cash

2013/09/10 * Assets:Checking -> Liabilities:CC
    Liabilities:CC                            $30.00
    Assets:Checking

2013/09/10 * CC Interest
    Expenses:Interest:CreditCard               $1.29
    Liabilities:CC

2013/09/11 Sprint
    Expenses:Communications:Cell              $60.00
    Assets:Checking

I get the following,
[garden@phoebe ~]$ ledger -f /tmp/fakeledger -p "9/10" -E bal exp
              $24.29  Expenses
              $19.00    Food
              $12.00      Dining
               $7.00      Junk
               $4.00    Gambling
               $1.29    Interest:CreditCard
--------------------
              $24.29
[garden@phoebe ~]$ ledger -f /tmp/fakeledger -p "9/11" -E bal exp
              $60.00  Expenses:Communications:Cell

When I'm expecting to see a list of all the accounts on both commands. 
I guess, I'm not sure if I'm using the --empty option correctly, or if it's 
a bug, or if there is a better way to do what I'm doing.

Also, on a side note, is there a repository of scripts or invocations for 
reports? It seems like there would be quite a few pretty standard report 
types, and I'd like to try to modify ones, rather than creating new ones.

--
Matt

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to