home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
RCS43X.ZIP
/
MERGE.MAN
< prev
next >
Wrap
Text File
|
1990-11-19
|
1KB
|
37 lines
NAME
merge - three-way file merge
SYNOPSIS
merge [ -p ] file1 file2 file3
DESCRIPTION
Merge incorporates all changes that lead form file2 to file3
into file1. The result goes to std. output if -p is present,
into file1 otherwise. Merge is useful for combining separate
changes to an original. Suppose file2 is the original, and
both file1 and file3 are modifications of file2. Then merge
combines both changes.
An overlap occurs if both file1 and file3 have changes in a
common segment of lines. Merge prints how many overlaps
occurred, and includes both alternatives in the result. The
alternatives are delimited as follows:
<<<<<<< file1
lines in file1
=======
lines in file3
>>>>>>> file3
If there are overlaps, the user should edit the result and
delete one of the alternatives.
IDENTIFICATION
Author: Walter F. Tichy, Purdue University, West Lafayette,
IN, 47907.
Revision Number: 1.3 ; Release Date: 89/10/30 .
Copyright c 1982, 1988, 1989 by Walter F. Tichy.
SEE ALSO
diff3 (1), diff (1), rcsmerge (L), co (L).