Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread Amit Uttamchandani
On Sat, 2 May 2009 00:00:15 +0200 pmarin pacog...@gmail.com wrote: Do you want to calculate only the total? Use hard tabs \t to separate columns My version: BEGIN { FS = \t+ OFS= \t } $2 ~ /[0-9]+\.?[0-9]*/ { total[car] += $2 total[pro] += $3 total[fat] += $4 } END{

Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread Amit Uttamchandani
On Fri, 1 May 2009 21:43:49 +0200 Antoni Grzymala ant...@chopin.edu.pl wrote: How about sc[1], a ncurses based spreadsheet? [1] http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/ Thanks for the tip!

Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread pmarin
Better if you remove que hash table: BEGIN { FS = \t+ OFS= \t } $2 ~ /[0-9]+\.?[0-9]*/ { car += $2 pro += $3 fat += $4 } END{ print Totals, car, pro, fat } On Sat, May 2, 2009 at 8:36 AM, Amit Uttamchandani atu13...@csun.edu wrote: On Sat, 2 May 2009 00:00:15 +0200

Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread Charlie Kester
On Fri 01 May 2009 at 23:43:25 PDT Amit Uttamchandani wrote: On Fri, 1 May 2009 21:43:49 +0200 Antoni Grzymala ant...@chopin.edu.pl wrote: How about sc[1], a ncurses based spreadsheet? [1] http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/ Thanks for the tip! Leaving aside the

Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread Charlie Kester
On Sat 02 May 2009 at 10:32:13 PDT Charlie Kester wrote: There's also an slang-based version of the original sc: http://linux.maruhn.com/sec/slsc.html Here's a page with downloads links for slsc that actually work: http://packages.ubuntu.com/dapper/math/slsc

Re: [dwm] [OT] Suckless way of doing spreadsheet

2009-05-02 Thread Kurt H Maier
On Sat, May 2, 2009 at 12:57 PM, Charlie Kester corky1...@comcast.net wrote: On Sat 02 May 2009 at 10:32:13 PDT Charlie Kester wrote: There's also an slang-based version of the original sc: http://linux.maruhn.com/sec/slsc.html Here's a page with downloads links for slsc that actually work:

[dwm] Stats script

2009-05-02 Thread Jake Todd
I was wondering what some other dwm users were using for stats like memory, temperature, et cetera. Right now I'm using this for termperature, memory, wifi, date: #!/bin/sh while true do xsetroot -name `cat /proc/acpi/thermal_zone/THRM/temperature | sed -e 's/temperature://g' -e 's/\

Re: [dwm] Stats script

2009-05-02 Thread Thayer Williams
On Sat, May 2, 2009 at 8:30 PM, Jake Todd jaketodd...@gmail.com wrote: I was wondering what some other dwm users were using for stats like memory, temperature, et cetera. Right now I'm using this for termperature, memory, wifi, date: I'm lazy and use conky-cli to do most of the grunt work...my