The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

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 [email protected]
   > 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]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру