Just a followup, there is now an example in the manual:

https://ledger-cli.org/doc/ledger3.html#Credit-Card-Cashback

Thanks to my pull request reviewer Alexis for helping clean it up.

On Sat, Jun 10, 2023 at 9:36 PM John Wiegley <[email protected]> wrote:

> >>>>> "VA" == Viraj Alankar <[email protected]> writes:
>
> VA> Something I was a bit confused about. If I change the automated
> VA> transaction to:
>
> VA> = "Liabilities:Apple Card" and has_tag("cashback")
>
> This is a bug in the query parser, which you can see by running:
>
>   ledger query '"Liabilities:Apple Card" and has_tag("cashback")'
>
> It seems that %cashback also has a bug, but it’s harmless and so you don’t
> notice the problem.
>
> The query parser needs an overhaul.
>
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/CAM502dNdQg34-zD5MDwUvZBkYVn%2BJB_2Em-XKO9aEkqvejJAdw%40mail.gmail.com.

Reply via email to