Carson Chittom <[email protected]> writes:

> "John Wiegley" <[email protected]> writes:
>
>>>>>>> Carson Chittom <[email protected]> writes:
>>
>>> I'm using ledger 2.6.3 (the version in the OpenBSD ports tree).  The
>>> --cleared and --uncleared options affect calculation.  Is there a way to
>>> *display* uncleared items, but to calculate balances as normal?
>>
>> Yes, using the --display predicate.  I can't quite remember the syntax for
>> how to predicate on unclearedness in 2.x, though.
>
> Thanks for pointing me in the right direction!  I'll report back if I
> can make it work, just so it's recorded somewhere for posterity. 

I played with the --display predicate before posting my original
message, so I don't know why I couldn't make it work before, but I
believe I've figured it out now.  The syntax for what I want seems to be
--display "!cleared" (of course --display "cleared" works as well).

Reply via email to