On Tuesday, June 3, 2014 12:42:50 AM UTC+2, b0ef wrote:
>
> Jostein Berntsen <[email protected] <javascript:>> writes: 
>
> > This seems to work for me: 
> > 
> > = /Assets:1500/                                                         
>                                                                      >     
> Assets:Total  1 
> >      Income:3010  -1 
> > 2014-06-02 foo                                                           
>                                                                     >     
> Assets:1500:foo:10101    1337 
> >     Assets:Total 
> > 2014-06-03 foo                                                           
>                                                                     >     
> Assets:1500:foo:20101    5100 
> >     Assets:Total 
>
> That's because you're doing something totally different. 
>
> If you look at my example, I only have one line in each transaction. 
>
> I don't want to write, ie "Assets:Total" 15 brazillion times. 
>
>
>
Then you can do something like this:

bucket 
Income:3010                                                                     
                                                                                
                                                                                
    

2014-06-02 
foo                                                                             
                                                                                
                                                                 

    Assets:1500:foo:10101    1337

2014-06-03 
foo                                                                             
                                                                                
                                                                 

    Assets:1500:foo:20101    5100
 
 ledger -f ~/Documents/Finans/testing/test.dat bal
                6437  Assets:1500:foo
                1337    10101
                5100    20101
               -6437  Income:3010
--------------------
                   0

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