Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/utilities2/diff2.1.1.html
Дата изменения: Fri Jan 17 12:43:26 1997
Дата индексирования: Tue Oct 2 02:31:01 2012
Кодировка:
Example of comparing directories with the diff command

Example of comparing directories with the diff command

To compare two directories in the current directory:

   diff usability Usability
   Only in Usability: schedule
   diff usability/email Usability/email
   2a3,4
   > Jean JRS@pollux.ucs.co
   > Jim  jim@frolix8

diff reports that the file (or directory) scheduleis unique to the directory Usability.

diff then reports that there are differences between the file email in the directory usability and the file of the same name in the directory Usability.

To make these files match you need to add (a) lines 3 and 4 (3,4) of the file Usability/email (>) after line 2 in the file usability/email.


[Home] [Search] [Index]