View Single Post
Old 24th August 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by guitarscn View Post
But if I run the script again though (in a new terminal window), I have to make sure that 'candy' is replaced by the next word/line I choose because I can't have it hanging around from my previous use of the script.
It sounds like you are concerned about losing data integrity if there are multiple instances of the script running simultaneously. If this is the case, look at one of Heiner's tricks posted on Shelldorado:

http://www.shelldorado.com/shelltips...ml#oneinstance
Reply With Quote