in reply to Re: Reading a file before clobbering it for output...
in thread Reading a file before clobbering it for output...

This won't work since opening the file twice in succession drops the file lock starting with the second open. (The file is closed in between, silently).
  • Comment on Re: Re: Reading a file before clobbering it for output...