Worst case scenario the cat of the backup_file to temp_file fails and you're left with a corrupt "file" and the extra "backup_file" which would have to be moved back manually.
In reply to Re^7: Writing to a file atomically without renaming
by Transient
in thread Writing to a file atomically without renaming
by nomis80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |