I do have them grouped in a tree structure, but was still querying all accounts separately for reasons. My ledgerbil reconciler caches previous balances which should match ledger's --cleared totals. I initially wanted to explicitly query by the cached account names, but realize now it will work just as well to run a query that gets all cleared balances and match them up with cached values without needing things to line up exactly.
On Friday, January 4, 2019 at 7:48:18 PM UTC-6, Craig Earls wrote: > > Never hit that limit! Can you group your accounts in a tree structure? > > On Fri, Jan 4, 2019 at 18:35 Scott Carpenter <scarp...@gmail.com > <javascript:>> wrote: > >> Tried to glom a whole bunch of accounts together for a query, but appears >> there is a 256 character limit for the // grouping, e.g.: >> >> While parsing value expression: >> (cleared)&((account =~ /^(fu: bar|...lots of chars...|abc: def)$/)) >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> Error: Invalid char 'a' (wanted '/') >> >> >> >> On Wednesday, January 2, 2019 at 8:11:50 PM UTC-6, Scott Carpenter wrote: >>> >>> Yep I had the longer version with --limit and account =~ >>> >>> Thanks for the tip! >>> >>> On Wednesday, January 2, 2019 at 7:30:08 PM UTC-6, Martin Michlmayr >>> wrote: >>>> >>>> * Scott Carpenter <scarp...@gmail.com> [2019-01-02 15:11]: >>>> > Sigh. No sooner posted than I had a better idea for finding it in the >>>> docs >>>> > and looks like "6.2.1 Controlling the Accounts and Payees" has what I >>>> need. >>>> >>>> So what did you end up with? >>>> >>>> I assume >>>> ledger -f d bal --limit "account =~ /unwise%$/" >>>> >>>> If so, note that you can use the more simple version: >>>> >>>> ledger -f d bal /unwise%$/ >>>> >>> >>>> -- >>>> 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 ledger-cli+...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- > Craig, Corona De Tucson, AZ > [image: missile_flyout] > enderw88.wordpress.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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.