>>>>> "JS" == Justin St-Amant <[email protected]> writes:
JS> Is there a way to refer to the tail-end of the matched account in an
JS> automated transaction, using a variable such as '$account_base' or
JS> similar? The ledger manual has a section that shows how to refer to the
JS> matching posting's account, by using '$account', but that expands to the
JS> full account name, rather than just the end.
You can use %(expr) rather than $account, with the ability to refer to the
bound scope (which is the posting that $account is the fullname of), thus, the
following aught to work:
%(account) # same as $account
%(account_base)
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.