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

Comparing and Merging Files

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

2.2.2 An Example of Normal Format

Here is the output of the command `diff lao tzu' (see section 2.1 Two Sample Input Files, for the complete contents of the two files). Notice that it shows only the lines that are different between the two files.

< The Way that can be told of is not the eternal Way;
< The name that can be named is not the eternal name.
< The Named is the mother of all things.
> The named is the mother of all things.
> They both may be called deep and profound.
> Deeper and more profound,
> The door of all subtleties!

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