pem(1)

๐Ÿ“ฆ
version 0.7.9 ยท 2 versions
, in debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– pem(1) โ€” GNU personal expenses manager ๐Ÿ’–

okay bestie, listen up, this is pem, straight outta section 1 of the General Commands Manual, and it's about to be your new main character. she tracks your money. your coins. your whole bag. ๐ŸŽ€


โœจ NAME โœจ

pem โ€” GNU personal expenses manager ๐Ÿซถ


โœจ SYNOPSIS โœจ

pem [OPTIONS] [<description> <amount> ...]

โœจ DESCRIPTION โœจ

GNU Pem is that handy little tool that helps you keep track of your personal income and expenses. and like, needless to say?? using pem is extremely simple and easy. literally a command of this exact form is ALL it takes:

$ pem "Bus ticket" 10.75
$ pem -f myexpenses.txt Breakfast 20

Pem stores these details in a CSV file, named after the current month, and placed in the ~/.pem directory under your $HOME directory. wanna use some other file instead? just hit it with the -f option, easy. also, heads up: each amount is considered an expenditure unless you indicate otherwise with -e. ๐Ÿ’…


๐Ÿท๏ธ Tags/Categories

================

okay so from version 0.7.4, pem introduced support for tags & categories of records. you can tag an income and/or expense record like:

$ pem -c bills "Cell phone bill" 830.50
$ pem -c 'travel fun leisure' "Trip to Goa" 4500

These are saved with the tags bills & travel fun leisure respectively. and later?? you can see very useful reports showing your category wise expense traits. โœจ

Now pem also facilitates filtering of records using tags and description. Note that, while filtering records, pem first looks into the tags and when they don't match, goes for the description field. Ex. to see all your expenses on travel, you can say:

$ pem -s travel
$ pem -m travel

While the first will list all your travel expenses in a month; the latter will show the cumulative results for each month till date. ๐Ÿ‘‘

Other than this, pem supports these following options:


โœจ OPTIONS โœจ

  • -b, --bare โ€” show unformatted report ๐Ÿ“
  • -c, --category <name> โ€” categorise/tag your expenses ๐Ÿ’–
  • -e, --earned โ€” indicates income ๐Ÿ’ฐ
  • -f, --file <name> โ€” specify file name ๐Ÿ“
  • -s [n] โ€” show daily report with total after [n] days ๐Ÿ“…
  • -m [n] โ€” show monthly report with total after [n] months ๐ŸŒ™
  • -C โ€” show category/tag-wise report ๐Ÿท๏ธ
  • -t, --total โ€” shows just the total when used it with -s ๐Ÿงฎ
  • -M <mm> โ€” select the start month (01 <= mm <= 12) ๐ŸŒธ
  • -N <mm> โ€” select an end month (01 <= mm <= 12) ๐ŸŒธ
  • -Y <yy> โ€” select an year (00 <= yy <= 99) โญ
  • -h, --help โ€” show this help ๐Ÿ™ˆ
  • -v, --version โ€” show version information ๐Ÿ’œ

โœจ ENVIRONMENT โœจ

  • PEMTIME โ€” Pem recognizes the PEMTIME environment variable. PEMTIME defines the format in which you want the Date & Time to be displayed. for example, if you export PEMTIME="%F", the date "May 31 2007" will be displayed as 2007-05-31. for more information/options please see strftime(3). ๐Ÿ•ฐ๏ธ

โœจ REPORTING BUGS โœจ

Report bugs to <pj.pandit@yahoo.co.in> ๐Ÿ› (yes bestie, actually email them, do not just vague-post about it)


โœจ AUTHOR โœจ

Written by Prasad J Pandit

Initial category patch: John Westlund


lowkey none of this is scary, it's just a CSV and a vibe check. go log your bus ticket. periodt. ๐Ÿ’…โœจ

and that's the whole page, bestie โ€” brought to you by pem(1) from the General Commands Manual ๐ŸŽ€๐Ÿฆ‹ go be financially iconic ๐Ÿ‘‘

๐Ÿ“ฆ where this page comes from