LWN.net Logo

Accounting systems: a rant and a quest

Accounting systems: a rant and a quest

Posted Aug 19, 2012 23:53 UTC (Sun) by pyrite (guest, #86316)
Parent article: Accounting systems: a rant and a quest

Here is a short and sweet awk script some one wrote. You could modify it, for instance if you wanted the ledger in detail rather than the ledger balances.

The web page is:https://bbs.archlinux.org/viewtopic.php?id=106721

The output is just the trial balance for the accounts. So in the example output below the newt worth is q/Opening Balances: + i/ accounts + e/ accounts. If you wanted to clear the income and expenses to q/Opening Balances: you could just add the journal entries. Any how you could use the simplicity to develop your own.

$ bal ledger.sample
a/Checking: 15.00
a/Checking*: -40.00
a/Savings: 620.00
e/Food: 85.00
i/Paycheck: -120.00
l/Credit Card: -35.00
q/Opening Balances: -525.00

Also, Awk scrips could be a great way to transfer your stuff to quicken's software in column separated variable format.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds