Hi,

having been a proud user of ledger+vim+custom shell scripts combo for a 
long time, I want to integrate ledger into some bigger system now. Another 
program would generate transactions, save them into a file consumable by 
ledger, run "balance" or "register" commands and parse the report.

The question is what's the best way to do that. 3.0 docs describe XML 
format, but I couldn't make "xml" command work (besides, does XML support 
metadata?). Still, input data can be put into a text file. What concerns me 
more is output of "balance" and "register". The normal ledger output is 
custom-tailored to fit screen width, some account names are presented in a 
compact way, etc. This presents a problem for parsing, since parser must 
identify the exact account name.

So, how can I solve this problem? Can XML (or CSV which is also mentioned 
in the docs) be used for input and output? Or, are there any flags which 
make ledger output more machine-readable?

--
Oleg.

-- 

--- 
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/groups/opt_out.


Reply via email to