Home
About
Projects
 CVS
 Contributors
 Online
 Download
 RCS
 Texinfo
 Texi2HTML
History
Tools
Support the Project
 
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

A.9 diff--Show differences between revisions

  • Synopsis: diff [-lR] [format_options] [[-r rev1 | -D date1] [-r rev2 | -D date2]] [files...]
  • Requires: working directory, repository.
  • Changes: nothing.

The diff command is used to compare different revisions of files. The default action is to compare your working files with the revisions they were based on, and report any differences that are found.

If any file names are given, only those files are compared. If any directories are given, all files under them will be compared.

The exit status for diff is different than for other CVS commands; for details A.2 CVS's exit status.

A.9.1 diff options  
A.9.2 diff examples  

Sun Aug 26 18:32:26 UTC 2001 © 1999, 2000, 2001 by Manual Translation Project webmaster@manual-translation-project.org