Oh, one more thing I tried that failed: *3. Creating a custom csv export format string* I thought that perhaps I could add a custom identifier for each transaction into the CSV file, and then my python script could re-group transactions by this custom identifier, and filter them.
I thought I had found a way to do this by changing --format-string. The ledger manual says the character codes %b or %B will "Insert the beginning character/line position of that transaction within the file." However, that's a bug. In practice, they only insert the beginning positions of the POSTING, not the transaction. It appears there's no way to get a unique transaction identifier from within the CSV export. -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.