Bug#1039736: ledger print creates invalid syntax

2023-12-11 Thread Martin Michlmayr
* Helmut Grohne [2023-06-28 20:40]: > $ printf "bucket X\n/11/11 c\n Y 1\n" | ledger -f - print > /11/11 c > Y 1 Alexis pointed out that this is the same as https://github.com/ledger/ledger/issues/604 Note that there are a lot of bugs

Bug#1039736: ledger print creates invalid syntax

2023-06-28 Thread Helmut Grohne
Package: ledger Version: 3.3.0-3 Tags: upstream Hi, according to the manual page, ledger print can be used to reformat a ledger file. As such I expect it to produce valid ledger syntax. The following trips it up: $ printf "bucket X\n/11/11 c\n Y 1\n" bucket X /11/11 c Y 1 $ printf