No, that's not how editors work. Read from original, write to a new temp file. When the writing is complete and successful(!), rename the temp file to the old name. Typically you don't want to wipe out the original until you are sure you have a good replacement for it.
--Dave
In reply to Re^4: opening file for editing
by armstd
in thread opening file for editing
by ramprasad27
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |