nixers
[AWK] Small Productivity Script - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics)
+--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix)
+--- Thread: [AWK] Small Productivity Script (/Thread-AWK-Small-Productivity-Script)


[AWK] Small Productivity Script - jmbi - 17-06-2014

About
Here's a small awk script (not gawk, mawk, or nawk) that I wrote playing around with the language. It's main purpose is hopefully jolting your productivity by showing you how much of your life you've already lived, and how much you have left.

Usage
Code:
./life -v age=(age #)
Output:
<img src="http://i.imgur.com/OHeX2Ot.png"></img>

Git
<a href="http://git.nixers.net/jmbi/life/tree/master">http://git.nixers.net/jmbi/life/tree/master</a>

Hopefully this might spark your interest in awk/gawk/mawk/nawk, I've found that it is a very useful language for text and data processing and is very fast.


RE: [AWK] Visualize your remaining life - hades - 17-06-2014

This is quite neat, and I love the way it visualizes it with the tile grid. I'll have to look into awk sometime


RE: [AWK] Small Productivity Script - venam - 18-06-2014

Nifty, I liked it.
You should use different colours to differentiate because with some schemes the bold and normal are really close.


RE: [AWK] Small Productivity Script - jmbi - 18-06-2014

(18-06-2014, 10:30 AM)venam Wrote: Nifty, I liked it.
You should use different colours to differentiate because with some schemes the bold and normal are really close.

Yep, I was thinking the same as well. I'll do that.