"any(account =~ /Ass/)" is a boolean. Is there a way to do a regex on
all accounts in a transaction and get a string as a result?
Use case: imagine you receive Income:Dividends on two accounts:
Assets:Broker 1 and Assets:Broker 2
You want to --group-by the Assets: account to find on which broker
account you received dividends, e.g.:
bal Income:Dividends --group-by get_account("^Assets:Broker")
Inspired by this question:
https://www.reddit.com/r/plaintextaccounting/comments/yedxd8/grouping_balances_by_target_account/
--
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/Y14JHn3JnOr502My%40jirafa.cyrius.com.