Il 06/09/2012 18:35, Paul Eggert ha scritto: >> > A program that reads the target file will never >> > be able to observe an intermediate result. > Sure, but that doesn't fix the race condition I > mentioned. If some other process is writing F > while I run 'sed -i F', F is not replaced atomically.
How not so? Paolo > That's true even if the other process is another > instance of 'sed'.