Hey Ledger Folks,

I'm building a tool for automatically categorizing transactions based 
on regex matching certain journal fields.  It's a standard UNIX filter
that takes a journal file from stdin, modifies it and sends it to stdout.
I want to maintain the exact format of the journal including comments.
I haven't figured out a way to do this with the ledger parser python lib
so I wrote my own[1].  Does anyone else have a better way to do this?
I'd rather not maintain my own parser.

Thanks!

Ryan

[1] https://gist.github.com/tubaman/0e80cec388d3d5d61e3f300e2477a9ae

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to