* Dan Sladden <
dan.s...@gmail.com> [2021-02-22 05:36]:
> But with --flat --no-total I get this:
> $-150 Assets:Cash
> $150 Assets:One
> $50 Assets:One:Two
> which doesn't because the balance for Assets:One includes that of
> Assets:One:Two.
This is imho a bug in --flat. I ran into this recently and opened
this issue:
https://github.com/ledger/ledger/issues/1987
As a workaround, you could run multiple ledger bal commands
and combine the output into one file. You would run:
ledger bal ACCOUNT$
The $ indicating end of string, i.e. without subaccounts.
--
Martin Michlmayr
https://www.cyrius.com/