Re: Filtering by commodity issue

45 views
Skip to first unread message

John Wiegley

unread,
Dec 15, 2023, 4:55:50 PM12/15/23
to lipp f, Ledger
>>>>> "lf" == lipp f <flip...@gmail.com> writes:

lf> I have a commodity called "T 210618C00030000" and I want to filter the
lf> register by this commodity.

lf> When I use "like" operator it works fine but when I use equal operator
lf> does not work. Any advice?

That’s very interesting. The quotes are part of the name, it appears. You can
use this:

ledger reg -l 'commodity=="\"T 210618C00030000\""'

John
Reply all
Reply to author
Forward
0 new messages