I'm new to ledger and experimenting with 2.6.1.  I'm seeing output
different from what I expect in very simple cases, so I'm probably
just
confused.  Can anyone straighten me out?

Basically, I'm expecting the last column of the "reg" output to be
running totals for accounts, but that's not what I'm seeing.

I'm using the sample from the "1 Introduction" page of the info
documentation:

 2004/09/29 Pacific Bell
      Payable:Pacific Bell            $-200.00
      Equity:Opening Balances

 2004/09/29 Checking
      Accounts:Checking                $100.00
      Equity:Opening Balances

 2004/09/29 Pacific Bell
      Payable:Pacific Bell              $23.00
      Accounts:Checking

Here's what I see from the reg command (with some spaces removed in
hopes this won't get wrapped):

$ ledger -f sample.dat reg
2004/09/29 Pacific Bell  Payable:Pacific Bell   $-200.00 $-200.00
                         Eq:Opening Balances     $200.00        0
2004/09/29 Checking      Accounts:Checking       $100.00  $100.00
                         Eq:Opening Balances    $-100.00        0
2004/09/29 Pacific Bell  Payable:Pacific Bell     $23.00   $23.00
                         Accounts:Checking       $-23.00        0

whereas from the explanation in the doc I was expecting the last
column
to be a running total for each account, like this:

2004/09/29 Pacific Bell  Payable:Pacific Bell   $-200.00 $-200.00
                         Eq:Opening Balances     $200.00        0
2004/09/29 Checking      Accounts:Checking       $100.00  $100.00
                         Eq:Opening Balances    $-100.00        0
2004/09/29 Pacific Bell  Payable:Pacific Bell     $23.00  $223.00
                         Accounts:Checking       $-23.00   $77.00

If it matters, I'm on Mac OS X 10.5.6, built with gcc 4.0.1, gmp
4.3.0,
and pcre 7.9.

Thanks for any clarification.

Dan

Reply via email to