Oddbean new post about | logout
 screenshots wont impress.
and that is what is so great about it.
its just text.

it consists of two scripts.
the first, lg, is used like:
“lg food 12.5 #burrito”
it checks to see if $month.lgr exists, creates if not, and writes the entry with the date inserted in field $1
the second script, lsort, sorts the contents of .lgr files alphabetically, then reads field $2, inserts a new line where field $2 is different from field $2 in the previous line,  adds totals for each category on the new line, and a month total at the bottom. 
it outputs to 
$month.lgr.s.$month$day 
so i can run lsort several times during the month to see where im at, with each file reflecting when it was sorted. this could even be a cronjob which gets mailed once a week with 
cat <ledger> | mail me@me.com -s $month-ledger or something similar.

it’s simple, unglamorous, and accurate. im considering writing lcomp, to compare sorted ledger amounts, though i may just do that by hand. 🤷 
 No idea what you just wrote but it sounds useful 👍 
 Hell yea