What is the easiest way to get a budget report with the following
items listed in each row: account, target, actual, net?

I can get the net value easily enough strait from ledger with:

ledger -f fin.dat --budget -p "june" -s bal

or the target values with:

ledger -f fin.dat --budget -p "june" reg | grep "Budget entry"

But not in any sort of easy to see unified report. I could use the
above commands and use awk or some other scripting language to harvest
and change the data into what I want. If this is the best route any
pointers on how I should proceed? What switches could I use to make
the output from ledger more parse friendly for bash/awk/python/ruby?


Thanks,

Jake

Reply via email to