On 06.12.19,12:19, Christian Pinedo Zamalloa wrote: > Hi! > I would like to know if you have any shell, awk... script to sort the > order of ledger transactions by date. > > Initially I tried to sort transactions per date by using "ledger > print", however I suffered some issues with the output generated by > "ledger print" command: > - some lot data disappears > - lot dates are translated to a format not valid (it seems to be > solved in this commit > https://github.com/ledger/ledger/commit/95237941b66931978953fadb390e1b442ed63175 > ) > > I am a vim user, so I don't use the emacs' mode for ledger. >
I have made a perl script last year which has an option to sort the transaction file by dates without changing it and one for changing the file. I will see if I can upload this to github if this is useful. Jostein -- --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/20191210230455.GA29912%40jostein.
