* Tobias Pfeiffer <[email protected]> [2019-10-13 15:32]:
> I want to get all the transactions where money went from account X to
> account Y. The documentation has an example like this:
>
> ledger -M -r --display 'account=~/mastercard/' reg ^expenses
>
> However, as the docs mention, running total is off, and there are
> occasionally other things showing up in that report that I don't want
> to have there. I have tried changing `--display` to `--limit`, but then
> the result is always empty.
Does this query more closely give the result you want?
ledger reg "^expenses" -l "any(account =~ /mastercard/)"
--
Martin Michlmayr
https://www.cyrius.com/
--
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/20191013065814.GE2256%40jirafa.cyrius.com.