www.delorie.com/gnu/docs/diffutils/diff_12.html   search  
 
Buy GNU books!


Comparing and Merging Files

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.2 Showing Differences Without Context

The "normal" diff output format shows each hunk of differences without any surrounding context. Sometimes such output is the clearest way to see how lines have changed, without the clutter of nearby unchanged lines (although you can get similar results with the context or unified formats by using 0 lines of context). However, this format is no longer widely used for sending out patches; for that purpose, the context format (see section 2.3.1 Context Format) and the unified format (see section 2.3.2 Unified Format) are superior. Normal format is the default for compatibility with older versions of diff and the POSIX standard. Use the `--normal' option to select this output format explicitly.

2.2.1 Detailed Description of Normal Format  A detailed description of normal output format.
2.2.2 An Example of Normal Format  Sample output in the normal format.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003