Closed DamienCassou closed 3 years ago
Looks like a problem with the recent version of hledger. I can reproduce with 1.21 (hledger
below) but not with 1.18 (/usr/bin/hledger
below)
🤔 /usr/bin/hledger -f fixtures/checking.lgr reg -O csv --real |grep QUOTE
"12","2011-03-31","","PAYEE TEST""QUOTE","Assets:Foo","$0.01","$0.01"
"12","2011-03-31","","PAYEE TEST""QUOTE","Income:Bar","$-0.01","0"
🤔 hledger -f fixtures/checking.lgr reg -O csv --real |grep QUOTE
"12","2011-03-31","","PAYEE TEST\"\"QUOTE","Assets:Foo","$0.01","$0.01"
"12","2011-03-31","","PAYEE TEST\"\"QUOTE","Income:Bar","$-0.01","0"
The output of the new hledger version looks weird to me - it seems like it is double escaping for csv, first by doubling the quote, then with backslash (\
)
Apparently fixed but unreleased https://github.com/simonmichael/hledger/issues/1508
Awesome, thank you very much!
I have a problem with the ledger-autosync package in Nix. Do you have an idea what could be wrong?
I have tried with both the latest commit and 1.0.2.