Sample ledger file: $ ledger print -f ~/TextFiles/report.ledger 2016/07/17 IndianOilPetrolBunk Equity:Fuel:Car 7.49 Ltr Liabilities:CreditCard:Axis -500$
2016/07/17 KMTracking Expenses:Fuel:Car 3.10 Ltr Equity:Fuel:Car 2016/07/19 TrackFuelExpenses Expenses:Fuel:Bike 7.12 Ltr Equity:Fuel:Bike 2016/07/19 IndianOilPetrolBunk Equity:Fuel:Bike 8.50 Ltr Liabilities:CreditCard:Citi -600$ $ ledger reg -f ~/TextFiles/report.ledger -H -p "2016" -M Expenses:Fuel 16-Jul-01 - 16-Jul-31 Expenses:Fuel:Bike 503$ 503$ <Adjustment> -1$ 502$ Expenses:Fuel:Car 219$ 721$ Not clear, How the <Adjustment> is arrived at "*-1$*". And on adding "--collapse", getting the first number as "1443$", approximately double the total amount returned above "721$" $ ledger reg -f ~/TextFiles/report.ledger -H -p "2016" *--collapse* -M Expenses:Fuel 16-Jul-01 - 16-Jul-31 <Total> *1443$* 721$ Can someone please clarify why adding "--collapse" option is giving different output instead of simply summing up the rows. Looks some more logic is happening here. -- Regards, Naga Kiran -- --- 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.