greynode » GNU http://greynode.org ingĂ©nierie de tous les aspects de vie Fri, 15 Apr 2011 16:12:00 +0000 en hourly 1 http://wordpress.org/?v=3.1.1 Automake and Autoconf Made Simple http://greynode.org/2009/11/02/automake-and-autoconf-made-simple/ http://greynode.org/2009/11/02/automake-and-autoconf-made-simple/#comments Tue, 03 Nov 2009 08:15:14 +0000 enum http://greynode.org/?p=142

Read the rest of this entry »

]]>
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.

]]>
http://greynode.org/2009/11/02/automake-and-autoconf-made-simple/feed/ 0
Scripting Languages http://greynode.org/2009/06/22/scripting-languages/ http://greynode.org/2009/06/22/scripting-languages/#comments Mon, 22 Jun 2009 22:02:04 +0000 enum http://www.greynode.org/?p=48

Read the rest of this entry »

]]>
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.

]]>
http://greynode.org/2009/06/22/scripting-languages/feed/ 0