#sc: the #Linux lightweight #spreadsheet using #ncurses

I have been doing some rewriting of my accounting package, mostly using C++ and bash scripts.

A package that really deserves more attention is “sc”, an ncurses based spreadsheet. I like it because it is very lightweight, and of course works on a terminal. It lacks a lot of advanced features like graphs, has some learning curve, but it’s still pretty cool.

I have set up a spreadsheet manually with a set of accounts, using named fields to contain values that I will put in later. I put in appropriate formulas for subtotalling and totalling.

The sc file format is just plain text. This is great, because I can generate values programmatically. So, if the balance of my shopping is 1000, I can append the following line to the sc file let shop = 1000

I can then edit or view the resultant spreadsheet. Better yet, I can convert it to a text file programmatically using sc -W % financials.sc > financials.rep

I recommend Linux command-line freaks to check out the utility. It should be available in most good distro repos, without manual compilation. Slackware includes it by default, IIRC, Arch users can use pacman, and IIRC it is also available as a Debian/Ubuntu package.

Enjoy.

Advertisements

About mcturra2000

Computer programmer living in Scotland.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s