hledger icon indicating copy to clipboard operation
hledger copied to clipboard

print: preserve Ledger-specific lot syntax in amounts, even if unsupported

Open simonmichael opened this issue 1 year ago • 0 comments

https://forum.plaintextaccounting.org/t/ledger-anyone-have-a-good-pretty-printer-for-transactions/212/5:

Given,

2024-03-22 Thing
	cash  $-100
	asset  $100  {{=1 unit}}

We get

>hledger -f - print
2024-03-22 Thing
    cash            $-100
    asset            $100

I wish hledger would just mind its business and keep my lots :P!

simonmichael avatar Mar 22 '24 21:03 simonmichael