* Nathan Grigg <[email protected]> [2014-07-20 20:19]:
> Now leger bal "Assets:Health Savings” and “%Taxes=HSA Contribution” gives me
> $500. The downside is that tags can be difficult to work with. (For example,
> can you match a tag value by regex? Not that I can see)
Yes, you can match tags:
ledger -f d reg "tag("Taxes") =~ /^HSA*/'"
> Does anyone else try to solve this problem? Is there a solution I’m
> overlooking?
If you always transfer from Assets:Checking, you can do:
ledger -f d reg 'Assets:Health Savings' and expr 'any(account =~
/Assets:Checking/)'
--
Martin Michlmayr
http://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].
For more options, visit https://groups.google.com/d/optout.