Previous: Trailing Blanks, Up: Adjusting Output

5.3 Paginating diff Output

It can be convenient to have long output page-numbered and time-stamped. The --paginate (-l) option does 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