"Expenses:Fuel" argument is missing at the end of command you issued
[compared to the one I used] that's causing the different output in your
case.

$ ledger reg -f ~/TextFiles/report.ledger -H -p "2016" --columns=72 -M
16-Jul-01 - 16-Jul-31        Equity:Fuel:Bike           195$         97$
                             <Adjustment>              -310$       -213$
                             Equity:Fuel:Car            620$        407$
                             Expenses:Fuel:Bike         503$        910$
                             Expenses:Fuel:Car          219$       1129$
                             Liab:CreditCar:Axis       -500$        629$
                             Liab:CreditCar:Citi       -600$         29$

There is no ".ledgerc" file and no pricing db as installed ledger on a new
system.
Can you please suggest any other things to check to sort this out?

Thanks,
Naga Kiran



On Fri, Sep 16, 2016 at 4:11 AM, John Wiegley <jo...@newartisans.com> wrote:

> >>>>> "NKK" == Naga Kiran K <k.nagaki...@gmail.com> writes:
>
> NKK> root@:/tmp# ledger reg -f data.ledger -H -p "2016" --columns=72 -M
> NKK> Expenses:Fuel
> NKK> 16-Jul-01 - 16-Jul-31        Expenses:Fuel:Bike         503$
> 503$
> NKK>                              <Adjustment>                -1$
> 502$
> NKK>                              Expenses:Fuel:Car          219$
> 721$
>
> I'm using 3.1.1, but I see very different output from this command:
>
> --8<---------------cut here---------------start------------->8---
> 15:39:58 Vulcan:~ $ ledger reg -f /tmp/data.ledger -H -p "2016"
> --columns=72 -M
> 16-Jul-01 - 16-Jul-31        Equity:Fuel:Bike           195$         97$
>                              <Adjustment>              -310$       -213$
>                              Equity:Fuel:Car            620$        407$
>                              Expenses:Fuel:Bike         503$        910$
>                              Expenses:Fuel:Car          219$       1129$
>                              Liab:CreditCar:Axis       -500$        629$
>                              Liab:CreditCar:Citi       -600$         29$
> --8<---------------cut here---------------end--------------->8---
>
> Do you have a .ledgerrc file?  Or a pricing database?
>
> --
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
>



-- 
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.

Reply via email to