On Mon, Jan 16, 2017 at 10:57:36AM -0800, thierry wrote:
>    Hi,
> 
>    I wanted to implement some kind of regress test file, not fully
>    documenting the option, but at least keeping trace of the syntax of the
>    command.
> 
>    I tried on my own ledger file the command:
> 
>        ledger bal --lots "Account" -f myfile.dat -S 'lot_date(total) || date'
>    -y "%Y-%m-%d"
> 
>    But it is failing with :
> 
>        While evaluating value expression:
>          (lot_date(total) | date)
>           ^^^^^^^^^^^^^^^
>        While calling function 'lot_date 0':
>        Error: boost::bad_get: failed value get using boost::get
> 
>    Can somebody (maybe original poster Kumar Appaiah) provide me with some
>    anonymised test file?

This?

2012-01-31 * Buy Apples
    Stocks    30 APPLES @ 12 USD
    Unknown

2011-02-01 * Buy Apples
    Stocks    10 APPLES @ 10 USD
    Unknown

2011-02-02 * Buy Apples
    Stocks    20 APPLES @ 11 USD
    Unknown

Kumar
-- 
Kumar Appaiah

-- 

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