Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/vi/one.1.2.html
Дата изменения: Fri Jan 17 12:43:27 1997 Дата индексирования: Mon Oct 1 22:12:28 2012 Кодировка: Поисковые слова: virgo cluster |
While using vi to edit an existing file, you are actually working on a copy of the file that is held in a temporary buffer.
If you invoked vi with a new filename, (or no file name) the contents of the file only exist in this buffer.
Saving a file writes the contents of this buffer to the permanent file, replacing its contents. You can write the buffer to a new file or to some other file.
You can also decide not to write the contents of the buffer, and leave your original file unchanged.