Ah, good to know. Thank you!
On Friday, January 4, 2019 at 8:03:42 PM UTC-6, Martin Michlmayr wrote:
>
> * Martin Michlmayr > [2019-01-05 00:01]:
> > * Scott Carpenter > [2019-01-04
> 17:35]:
> > > Tried to glom a whole bunch of accounts together for a query, but
> appears
> > > there is a
* Martin Michlmayr [2019-01-05 00:01]:
> * Scott Carpenter [2019-01-04 17:35]:
> > 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:
* Scott Carpenter [2019-01-04 17:35]:
> 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)$/))
>
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
Never hit that limit! Can you group your accounts in a tree structure?
On Fri, Jan 4, 2019 at 18:35 Scott Carpenter 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:
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)$/))
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 > [2019-01-02 15:11]:
> > Sigh. No sooner posted than I had a better idea for finding it in the
> docs
> > and looks
* Scott Carpenter [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,
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.
I had looked for --account but gave up too quickly.
On Wednesday, January 2, 2019 at 5:08:57 PM UTC-6, Scott Carpenter wrote:
>
> In my
In my ledgerbil program I construct ledger queries for accounts and ran
into an issue when the account ended with a % sign. I now realize a % sign
in the account name probably isn't a great idea, but I'd like to handle if
possible.
An example! Let's say we have an account:
assets: unwise%
10 matches
Mail list logo