Using ksh, how would I do the following within a script:
1. Check for existence of a file
2. If file exists, do some other tasks. At the same time as these tasks are being done, continually rpt step 1. As soon as step 1 detects that file does not exist, quit from script immediately. If and when all tasks are done and file still exists, remove it.
THx.
1. Check for existence of a file
2. If file exists, do some other tasks. At the same time as these tasks are being done, continually rpt step 1. As soon as step 1 detects that file does not exist, quit from script immediately. If and when all tasks are done and file still exists, remove it.
THx.