Hi,
Running
ledger -M --empty reg ^Expenses:RareExpense
produces a summary of Expenses:RareExpense, where each month is
represented, even if there was no activity for a given month.
The behaviour of --empty with regards to the beginning and end of the
considered period surprises me, however.
First of all, the above does not include the no-activity months after the
last activity-month until now. I.e. if my last RareExpense was in July
2014, it seems I get no empty months listed from August 2014 and onwards.
This behaviour is also consistently applied when using the --begin
predicate. For instance, had I no RareExpense in 2014 except for in July
(and none until now either), the following:
ledger -M --begin "2014/01" --empty reg ^Expenses:RareExpense
seems to give me a singleton list with only July represented.
That behaviour does not seem sensible to me. Am I doing something wrong or
is this a bug?
Regards,
Johan S. R. Nielsen
--
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.