30.25 vi -r May not Write Recovered Buffer When You ExitUsually, when you're editing a file with vi , if you type the command ZZ , it saves your file. But, on some versions of vi , if you recover a file with vi -r ( 30.24 ) , typing ZZ may not save your edits! That might be a good thing. When you recover a buffer, you need to decide whether the recovered buffer is really what you want. Maybe you've made other changes to the file since then. Maybe something went wrong as the buffer was being saved (say, the system crashed). You shouldn't just save without checking first.
You can use the - |
|