I think my question is answered in the PDF manual, but I don't know enough about regular expressions to put two and two together. So, my apologies in advance.
I'm trying to output the balances of certain expense accounts minus the transactions where the money comes from certain other accounts--something like what I tried initially (which of course doesn't work): $ ledger -s bal expenses:food -workissuedcreditcard Can somebody point me in the right direction?
