Added man pages.

This commit is contained in:
Ben Gras
2005-05-02 13:01:42 +00:00
parent 89ac678b9b
commit 141fe2c6e0
368 changed files with 50911 additions and 0 deletions

31
man/man1/cdiff.1 Normal file
View File

@@ -0,0 +1,31 @@
.TH CDIFF 1
.SH NAME
cdiff \- context diff
.SH SYNOPSIS
\fBcdiff\fR [\fB\-c\fIn\fR] \fIoldfile \fInewfile\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.FL "\-c" "Provide \fIn\fR lines of context"
.SH EXAMPLES
.EX "cdiff old new >f" "Write context diff on \fIf\fR"
.EX "cdiff \-c1 old new >f" "Use only 1 line of context"
.SH DESCRIPTION
.PP
\fICdiff\fR produces a context diff by first running \fIdiff\fR and then
adding context.
Some update programs, like \fIpatch\fR, can use context diffs to update
files, even in the presence of other, independent changes.
.SH "SEE ALSO"
.BR cmp (1),
.BR diff (1),
.BR patch (1).