home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
317a.lha
/
RCS
/
doc
/
merge.1l.doc
< prev
next >
Wrap
Text File
|
1989-12-05
|
2KB
|
67 lines
MERGE(1L) UNKNOWN SECTION OF THE MANUAL MERGE(1L)
NAME
merge - three-way file merge
SYNOPSIS
merge [ -p ] file1 file2 file3
DESCRIPTION
_M_e_r_g_e incorporates all changes that lead form _f_i_l_e_2 to _f_i_l_e_3
into _f_i_l_e_1. The result goes to std. output if -p is present,
into _f_i_l_e_1 otherwise. _M_e_r_g_e is useful for combining separate
changes to an original. Suppose _f_i_l_e_2 is the original, and
both _f_i_l_e_1 and _f_i_l_e_3 are modifications of _f_i_l_e_2. Then _m_e_r_g_e
combines both changes.
An overlap occurs if both _f_i_l_e_1 and _f_i_l_e_3 have changes in a
common segment of lines. _M_e_r_g_e 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.2 ; Release Date: 89/05/02 .
Copyright c 1982, 1988, 1989 by Walter F. Tichy.
SEE ALSO
diff3 (1), diff (1), rcsmerge (1L), co (1L).
Purdue University Last change: 1