Hi,
A bit of a dumb question here. Sorry folks.
Suppose I have this file which is being updated at irregular intervals (a few seconds, a few minutes, who knows) by a background process.
I '
vi' this file with the intention of editing it, so it opens up a temp copy as the usual /tmp/720cwhatever
Now suppose, whilst I have this file opened, its updated several times by the background process.
I make my changes, save-quit.
What happens to the updates that were made by the background process during the time I had the file opened?
How do I mitigate this?
(unfortunately, stopping the background process is not an option).
The file is fairly big also (about 40Mb) so it takes
vi a few seconds to load it up, save to it etc.....
Unix is ksh.
OS is SunOS.
Hope you guys can help! - thanks in advance!