Encyclopedia > Diff

  Article Content

Diff

diff is a Unix utility that outputs the difference between two files. In unified format, each line that occurs only in the left file is preceded by a minus sign, each line that occurs only in the right file is preceded by a plus sign, and common lines are preceded by a space. Lines beginning with three plus signs indicate the number of lines in each hunk, the file names, and where in the files to find them. Diffs are often used as input to the patch program.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Charles V, Holy Roman Emperor

... John III of Portugal, who had shortly before married Catherine, Charles's sister. Charles V initiated many wars with France during his reign, first fighting agains ...

 
 
 
This page was created in 24.1 ms