Tag: GNU


Automake and Autoconf Made Simple

November 2nd, 2009 — 11:15pm

Instead of randomly pasting configuration code from other projects when you decide you want to use automake/autoconf, just check out all you should really know about autoconf and automake. Albeit, it may not be comprehensive, but it should get you started.

Comment » | Coding, Unix

Scripting Languages

June 22nd, 2009 — 1:02pm

I just thought I’d share with you Random thoughts on scripting languages by Brian Kernighan.

After reading this, I looked up the source code to the unix utility wc. The GNU wc program was written in C, and amounted to about 800 lines with comments. A similar program written in awk is a mere 2 lines long:

{ nc += length($0) + 1; nw += NF }
END { print NR, "lines", nw, "words", nc, "characters" }

I know you are probably thinking that I just made an unfair comparison. Yes, I did.

Comment » | Coding, Unix

Back to top