Christophe Rhodes writes:
Sorry, not quite enough detail in my previous message to allow
brain-free reproduction of my issue:
> Given the ledger file below:
>
> --- begin ---
> 2012/06/01 Foo
> Assets:Foo FOO1
> Assets:Checking £-1.00
>
> P 2012/09/01 FOO £0.9
>
> 2013/02/01 Bar
> Assets:Bar BAR1
> Assets:Checking £-1.00
>
> P 2013/03/01 FOO £0.95
> P 2013/03/01 BAR £1.3
> --- end ---
>
> the ledger invocation above produces (reformatted slightly)
The ledger invocation referred to, with all variables resolved, is
ledger --format '%A %(P(T,[2013/03/31],"£")-P(T,[2013/01/01],"£"))\n' bal
(and a suitable way of pointing ledger to the data file)
> Assets:Bar BAR-1 {£1.00} [2013/02/01]
> £1.30
> Assets:Checking 0
> Assets:Foo £0.05
Best,
Christophe
--
---
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.