Is it possible to undo the 'bucket' directive?

2019-12-06 Thread Valentyn
Hi there, 'bucket' directive allows one to set a default account to balance the transaction. Is there a way to reset the bucket setting to a default value, so that new transactions must include the account that will balance the transaction? Example: bucket Assets:Checking 2011/01/25 Tom's

Re: any script to order transactions by date

2019-12-06 Thread maktak
I had some similar issues using the ledger print command. It discards some data such as comments outside of transactions as well as balance assertions. To solve this problem, I wrote a script in Python to sort transactions by date without touching the formatting or data. If you think Python

Re: any script to order transactions by date

2019-12-06 Thread maktak
I had some similar issues using the ledger print command. It discards some data such as comments outside of transactions as well as balance assertions. To solve this problem, I wrote a script in Python to sort transactions by data without touching the formatting or data. If you think Python

Re: any script to order transactions by date

2019-12-06 Thread Scott Carpenter
Ledgerbil has a sorting feature: https://github.com/scarpent/ledgerbil The only change it will make to data is to normalize spacing between transactions, using one space. Ledgerbil doesn't know about a lot of ledger features but it should still be able to sort any file. Please let me know if

any script to order transactions by date

2019-12-06 Thread Christian Pinedo Zamalloa
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 -