in reply to parsing system info

I suggest you take a good look at cfengine while you're at it. The article Intro to cfengine for system administration (ibm.com/developerworks) is from 2002 but it still stands.
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]