Quote:
Originally Posted by guitarscn
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