JeffAbrahamson / dotfiles

Other
4 stars 2 forks source link

food script #37

Closed JeffAbrahamson closed 7 months ago

JeffAbrahamson commented 7 years ago

Append data to a person and a month. Comments are always optional.

$ food jma|sb amount comment
$ food jma|sb
amount1 comment1
amount2 comment2
...
$

$ food -m month -y year    # both default to current
$ food -o                  # output monthly table for year
$ food -O                  # output annual table

Store data in data/food/ Store in files year/month/person, where person is jma or sb. Files auto-create as needed.

This might be easier as a handful of bash scripts or functions. In which case the names might be

food
food-months
food-years
JeffAbrahamson commented 7 months ago

I no longer track food expenses.