Perfect! thanks John!

I modded it a bit to show just checks that were uncleared:

ledger reg expr 'code and int(code) > 100' --prepend-format 'Check #
%(code)   ' --prepend-width 20 --sort code -U

and those that were cleared:

ledger reg expr 'code and int(code) > 100' --prepend-format 'Check #
%(code)   ' --prepend-width 20 --sort code

In each case sorting by check # (code)

best,

Bren
___________________________________________
¯\_(ツ)_/¯
Bren Smith
[email protected]
Heck. Where you go if you don't believe in Gosh.

On Tue, Dec 29, 2015 at 11:58 AM, John Wiegley <[email protected]>
wrote:

> >>>>> Bren Smith <[email protected]> writes:
>
> > I'd like for the check # (code) to be displayed as well. I feel like I'm
> > missing something obvious.
>
> You can use: --prepend-format '%(code)' --prepend-width 10.
>
> --
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
>

-- 

--- 
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.

Reply via email to