On 02.09.14,12:50, Ivanov Dmitry wrote:
> Suppose, I have the following ledger file:
> 
> 2014/08/07 * Opening Balances
>   Assets:Cash                 $100
>   Equity
> 
> 2014/08/08 * Buying Apples
>   Expenses:Food:Apples             $10
>   Assets:Cash
> 
> 2014/08/09 * Buying cheese
>   Expenses:Food:Cheese             $5
>   Assets:Cash
> 
> 2014/08/10 * Salary
>   Assets:Cash                 $100
>   Income:Salary
> 
> Then I generate a balance report:
> 
> ledger -f ./test.txt bal Expenses or Income
> 
> I get this output:
> 
>                  $15  Expenses:Food
>                  $10    Apples
>                   $5    Cheese
>                $-100  Income:Salary
> --------------------
>                 $-85
> 
> Is it possible to hide the subaccounts in the report, getting this:
> 
>                  $15  Expenses:Food
>                  $-100  Income:Salary
> --------------------
>                 $-85
> 

Can you use this?

ledger -f ./test.txt bal Expenses or Income --collapse


Jostein

-- 

--- 
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/d/optout.

Reply via email to