Printing to stdout

2023-06-09 Thread Bob Wilson
Hi folks, I recently upgraded to Ledger 3.3.2-20230330, from 3.2.1-20200518. Previously, running a command like `ledger -f ledger.dat balance ^Assets` would print results directly to the screen and return me to the prompt, but now that same command prints results to some kind of temporary

Re: Reducing repetition/duplication of amount value in entries

2023-06-09 Thread John Wiegley
> "VA" == Viraj Alankar writes: VA> I found one way that I think should work: VA> = "Liabilities:Apple Card" and %cashback VA> Assets:Apple Cash (-tag("cashback")) VA> Income:Credit Card Rewards (tag("cashback")) VA> 2023/06/06 McDonalds VA> ; cashback:: 0.02 VA>

Re: Reducing repetition/duplication of amount value in entries

2023-06-09 Thread Viraj Alankar
I found one way that I think should work: = "Liabilities:Apple Card" and %cashback Assets:Apple Cash (-tag("cashback")) Income:Credit Card Rewards (tag("cashback")) 2023/06/06 McDonalds ; cashback:: 0.02 Expenses:Food:Restaurants $23.98