Just to verify, when I run the command "ledger -f drewr.dat bal" on
the sample input file from the source I do not see a report for the
Liabilities:Tithe account
macbook-2:input cpearls$ ledger -f drewr.dat bal
$ -3,804.00 Assets
$ 1,396.00 Checking
$ 30.00 Business
$ -5,200.00 Savings
$ -1,000.00 Equity:Opening Balances
$ 6,654.00 Expenses
$ 5,500.00 Auto
$ 20.00 Books
$ 300.00 Escrow
$ 334.00 Food:Groceries
$ 500.00 Interest:Mortgage
$ -2,030.00 Income
$ -2,000.00 Salary
$ -30.00 Sales
$ 180.00 Liabilities
$ -20.00 MasterCard
$ 200.00 Mortgage:Principal
--------------------
0
On Sun, Jul 31, 2011 at 06:40, Craig Earls <[email protected]> wrote:
> Thanks, John. There was an error in my cut&paste, the closing slash
> was in the input file.
>
> I made up the following simple test file (test.dat):
>
> = account= /Expense/
> Liabilities .10
>
> 2011/07/31 Dummmy
> Expenses 100.00
> Assets
>
>
> When I run "ledger -f test.dat bal
>
> I get the following:
>
> -100 Assets
> 100 Expenses
> --------------------
> 0
>
> Is there an option I need to specify to get it to calculate and/or
> display automatic transactions
>
> On Sun, Jul 31, 2011 at 00:28, John Wiegley <[email protected]> wrote:
>> Craig Earls <[email protected]> writes:
>>
>>> = expr account =~ /^
>>> Liabilities:test 0.5
>>
>> Use the same query you'd use on the command line:
>>
>> = /(Expenses:(Medical|Clothing))/
>>
>> The "expr" version you specified was just missing a final /, but otherwise
>> should have worked.
>>
>> John
>>
>
>
>
> --
> Craig, Corona De Tucson, AZ
> 2008 Brunton Super Stalker
> 1989 BMW K75 Hannigan
> enderw88.wordpress.com
>
--
Craig, Corona De Tucson, AZ
2008 Brunton Super Stalker
1989 BMW K75 Hannigan
enderw88.wordpress.com