By the way
Please don't post duplicates to multiple boards; most people interested in Linux will read the Unix area too, and it's more counterproductive than productive.
"Beware of bugs in the above code; I have only proved it correct, not tried it."
-- Donald Knuth