Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/utilities2/diff.html
Дата изменения: Fri Jan 17 12:43:26 1997
Дата индексирования: Tue Oct 2 00:22:29 2012
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п п п п
Comparing files

Comparing files

You can display the line by line difference between two files with the diff command.

   diff file1 file2

The information given by the command tells you what changes need to be made for file1 and file2 to match. If there is no difference between the files you are returned to the shell prompt.

diff indicates which lines need be added (a), deleted (d) or changed (c).

Lines in file1 are identified with a (<) symbol: lines in file2 with a (>) symbol.


[Home] [Search] [Index]