add -c option

This commit is contained in:
rsc 2005-01-26 07:10:02 +00:00
parent 57d2613621
commit 4ac5f249ad
4 changed files with 88 additions and 2 deletions

View file

@ -4,7 +4,7 @@ diff \- differential file comparator
.SH SYNOPSIS
.B diff
[
.B -efmnbwr
.B -cefmnbwr
] file1 ... file2
.SH DESCRIPTION
.I Diff
@ -123,6 +123,11 @@ not useful with
in the opposite order. It may, however, be
useful as input to a stream-oriented post-processor.
.PP
The
.B -c
option includes three lines of context around each
change, merging changes whose contexts overlap.
.PP
Except in rare circumstances,
.I diff
finds a smallest sufficient set of file