Sample Header Ad - 728x90

Can the ed editor be configured to automatically create backup files?

1 vote
2 answers
87 views
Is there a way to have ed create backups of the file currently loaded into the buffer. On occasion I have inadvertently overwritten my file and found it's not recoverable. I.e. making a backup file with a tilde appended to the original file name (e.g., myfile.txt~), which would contain the previous version of the file.
Asked by edman (588 rep)
Jul 18, 2024, 05:55 AM
Last activity: Feb 8, 2025, 09:23 AM