Thank you John,

I also did not understand the 'group-by' behavior. But your suggestion
works well for me.

On Tue, Feb 12, 2019 at 5:33 AM John Wiegley <[email protected]> wrote:

> >>>>> "TS" == Talles Silva <[email protected]> writes:
>
> TS> I could execute one command per account like:
> TS> ledger --args-only -f transactions.txt  reg ^Expenses:Food:Grocerie
> TS> -M   -V --no-rounding
> TS> and it wold output as expected but I have a lot of accounts in my
> TS> ledger file and I'm trying avoid this option.
>
> You could use the "ledger accounts" command, and build a script that simply
> iterates through and runs that command for each one.
>
> I'm not quite sure why '--group-by' is including that account, though.
>
> John
>

-- 

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