I am trying to use the command report (for plotting with gnuplot) with
the below ledger file.
What I expect is one value for each month.
I do not understand why the "-M" option do not output one value per
month.
How can I reach my goal?
Thanks
Thierry
$ ledger -f test2.ledger -J -M -V reg ^Actif
1994/01/01 120000
2010/01/01 422000
$ cat test2.ledger
1994/01/01 Achat Rialto
Actif:Fixe:Rialto 2 Rialto
Actif:BNP -120000 €
Actif:BNP 120000 €
Revenu:Salaire -120000 €
P 1995/01/01 Rialto 70000 €
P 1996/01/01 Rialto 90000 €
P 1997/01/01 Rialto 90000 €
P 1998/01/01 Rialto 105000 €
P 1999/01/01 Rialto 110000 €
P 2000/01/01 Rialto 120000 €
P 2001/01/01 Rialto 130000 €
P 2002/01/01 Rialto 140000 €
P 2003/01/01 Rialto 150000 €
P 2004/01/01 Rialto 160000 €
P 2005/01/01 Rialto 170000 €
P 2006/01/01 Rialto 180000 €
P 2007/01/01 Rialto 190000 €
P 2008/01/01 Rialto 200000 €
P 2009/01/01 Rialto 210000 €
P 2010/01/01 Rialto 211000 €
> $ ledger -f test2.ledger -J -M -V reg ^Actif
> 1994/01/01 120000
> 2010/01/01 422000
I believe you may need -j, not -J (which is for balance reports).
John
> I did try with ldeger v2 and ledger v3, but I am unable to get one value by month. Any help appreciated.
Hrm, is there a way to send me a bit of sample data? You can use "ledger print --anon" with Ledger3 to create an anonymized data file from your own data.
I won't have time to examine the problem for another week or two yet, but then I hope to get back into Ledger bug fixing full swing.
Thanks, John
On Jan 1, 2010, at 8:24 PM, Thierry Daucourt wrote:Hrm, is there a way to send me a bit of sample data? You can use "ledger print --anon" with Ledger3 to create an anonymized data file from your own data.
> I did try with ldeger v2 and ledger v3, but I am unable to get one value by month. Any help appreciated.
I won't have time to examine the problem for another week or two yet, but then I hope to get back into Ledger bug fixing full swing.
Thanks, John
On Jan 2, 9:47 pm, Thierry Daucourt <thierry.dauco...@free.fr> wrote:
> Hello John, did you find any time to work on this one? Is it on your
> todo list?
It's bug #199 now. :) I'll make this top priority now.
http://newartisans.com/bugzilla/show_bug.cgi?id=199
John