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


Comparing and Merging Files

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

5.2 Paginating diff Output

It can be convenient to have long output page-numbered and time-stamped. The `-l' and `--paginate' options do this by sending the diff output through the pr program. Here is what the page header might look like for `diff -lc lao tzu':

 
2002-02-22 14:20                 diff -lc lao tzu                 Page 1


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