Hi Matt,

On Wed, Sep 11, 2013 at 06:20:39PM -0700, Matthew Marshall wrote:

> I saw the --empty option and it sounds like that should print out all
> accounts even if they have a 0 balance

With -p, you are asking ledger to disregard anything outside of the given
period, and that is exactly what it is doing. Those other accounts don't have a
zero balance: they don't even exist to ledger. The transactions which bring
them into life are out of scope.

Try this with and without --empty:

2013/09/11 Touch All Accounts
    Assets:Cash                                $0.00
    Assets:Checking                            $0.00
    Expenses:Communications:Cell               $0.00
    Expenses:Food:Dining                       $0.00
    Expenses:Food:Junk                         $0.00
    Expenses:Gambling                          $0.00
    Liabilities:CC                             $0.00

Interestingly, declaring the accounts with the account keyword does not
work. Perhaps it should.

Hope that helps. If not, you're probably looking at some scripting in e.g.
Python.

Regards,
Martin

-- 

--- 
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