I've recently upgraded from ledger 2.5 to ledger 3.0
Using the old version of ledger I would close out my finances for the year
(my tax year ends June 30) using this command
ledger --equity-format="\n%D %Y%C%P\n%/ [%A] %12(-t)\n" --limit
'd<=[30/06/2014]' equity ^Inc ^Exp
which would create a virtual transaction which reset all my Income and
Expense categories to zero (the net total gets transferred to
Equity:Closing Balance)
However the new ledger appears to no longer support '--equity-format'
$ ledger --equity-format="\n%D %Y%C%P\n%/ [%A] %12(-t)\n" --limit
'd<=[30/06/2014]' equity ^Inc ^Exp
Error: Illegal option --equity-format=\n%D %Y%C%P\n%/ [%A] %12(-t)\n
And it now doesn't tolerate my previous virtual entries either
$ ledger --limit 'd<=[30/06/2014]' equity ^Inc ^Exp
While handling posting from "ledger.txt", line 3739:
> [Expense:Bank Charges] $ -21.20
Error: 'equity' cannot accept virtual and non-virtual postings to the same
account
I did finally achieve partial success with
$ledger --real --limit 'd<=[30/06/2014] && d>=[01/07/2013]' equity ^Inc ^Exp
However I had to manually edit the resulting transaction to reverse the
signs on the transaction amounts and add the [] around them to make them
virtual.
Is there any way to influence the format of the new 'equity' report to get
back the functionality of the old version? maybe I'm the only user of
--equity-format..
regards
R
--
---
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.