On Mon, Dec 30, 2013 at 10:39 AM, anatoly techtonik email@example.com wrote:
Nothing personal, but that code is awful.
You're right, it's buggy because I didn't test it. Superfluous close parenthesis there. But my point is that the architecture is right there in the name, so you can save yourself the trouble and just use what comes from uname directly.