* James Blachly <james.blac...@gmail.com> [2016-10-11 19:30]:
> I have fixed this (see link) so that they are displayed as follows:
> 
> 2016/09/30 DIVIDEND RECEIVED
>     ; ofxid: redacted 
>     ; dividend_from: IBM 
>     Assets:Fido                                $3.87 
>     Income:Dividends                          -$3.87

> The ledger manual does not indicate whether or not I can filter on a
> metadata field

You definitely can:

ledger -f test reg income -l "tag('dividend_from') =~ /IBM/"

There's also a '%dividend_from=IBM' short form or something similar
but it doesn't work for me.  Maybe the syntax is different.  Of, you
need 'and':
ledger -f test reg income and '%dividend_from=IBM'

You might also find this of interest:

ledger -f test --group-by "tag('dividend_from')"

Like you, I prefer to have simple account names plus meta data (but
opinions differ on this; see Martin's email).

-- 
Martin Michlmayr
http://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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to