Hello François, from my understanding Ledger has more of a filter than a query language, and I'm uncertain how one do with ledger what you want to do.
Surely one could script it using the Ledger Python API, but with only commandline options, I don't know. Can someone else shed some light on the issue? Cheers, Alexis -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.