Re: Filtering by commodity issue
> "lf" == lipp f writes: lf> I have a commodity called "T 210618C0003" 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 210618C0003\""' John -- --- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/m24jgjp1uo.fsf%40newartisans.com.
Filtering by commodity issue
I have a commodity called "T 210618C0003" and I want to filter the register by this commodity. When I use "like" operator it works fine but when I use equal operator does not work. Any advice? $ ledger reg -l 'commodity=~/T 210618C0003/'<< returns proper records $ ledger reg -l 'commodity=="T 210618C0003"''<< returns nothing -- --- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/fded91dc-f37b-4714-b3eb-2dc1d4561f3fn%40googlegroups.com.