View Single Post
Old 16th December 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

As opposed to spoon-feeding, I'm going to give you a point which is going to require thought on your part, Wesley.

Consider the following line of code:
Code:
tempfile=`mktemp /tmp/tempfile.XXXX`
...& what is done with it for the remainder of the script when multiple people are running the script on the same machine at the same time. Hint, it isn't good.

...but I'm a nice guy. I will even give you another hint. The answer for avoiding this problem can be found on Heiner's page:

http://www.shelldorado.com/
Reply With Quote