source: trunk/minix/man/man1/cdiff.1@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 664 bytes
Line 
1.TH CDIFF 1
2.SH NAME
3cdiff \- context diff
4.SH SYNOPSIS
5\fBcdiff\fR [\fB\-c\fIn\fR] \fIoldfile \fInewfile\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-c" "Provide \fIn\fR lines of context"
19.SH EXAMPLES
20.EX "cdiff old new >f" "Write context diff on \fIf\fR"
21.EX "cdiff \-c1 old new >f" "Use only 1 line of context"
22.SH DESCRIPTION
23.PP
24\fICdiff\fR produces a context diff by first running \fIdiff\fR and then
25adding context.
26Some update programs, like \fIpatch\fR, can use context diffs to update
27files, even in the presence of other, independent changes.
28.SH "SEE ALSO"
29.BR cmp (1),
30.BR diff (1),
31.BR patch (1).
Note: See TracBrowser for help on using the repository browser.