home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
gr564b
/
merge.1
< prev
next >
Wrap
Text File
|
1995-05-18
|
2KB
|
67 lines
MERGE(1) MERGE(1)
NNAAMMEE
merge - three-way file merge
SSYYNNOOPPSSIISS
mmeerrggee [ --LL _l_a_b_e_l_1 [ --LL _l_a_b_e_l_3 ] ] [ --pp ] [ --qq ] _f_i_l_e_1
_f_i_l_e_2 _f_i_l_e_3
DDEESSCCRRIIPPTTIIOONN
mmeerrggee incorporates all changes that lead from _f_i_l_e_2 to
_f_i_l_e_3 into _f_i_l_e_1. The result goes to standard output if
--pp is present, into _f_i_l_e_1 otherwise. mmeerrggee 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 mmeerrggee 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. On a few older hosts where
ddiiffff33 does not support the --EE option, mmeerrggee does not
detect overlaps, and merely supplies the changed lines
from _f_i_l_e_3. On most hosts, if overlaps occur, mmeerrggee
outputs a message (unless the --qq option is given), and
includes both alternatives in the result. The
alternatives are delimited as follows:
<<<<<<<<<<<<<< _f_i_l_e_1
_l_i_n_e_s _i_n _f_i_l_e_1
==============
_l_i_n_e_s _i_n _f_i_l_e_3
>>>>>>>>>>>>>> _f_i_l_e_3
If there are overlaps, the user should edit the result and
delete one of the alternatives. If the --LL _l_a_b_e_l_1 and
--LL _l_a_b_e_l_3 options are given, the labels are output in
place of the names _f_i_l_e_1 and _f_i_l_e_3 in overlap reports.
DDIIAAGGNNOOSSTTIICCSS
Exit status is 0 for no overlaps, 1 for some overlaps, 2
for trouble.
IIDDEENNTTIIFFIICCAATTIIOONN
Author: Walter F. Tichy.
Revision Number: 5.4; Release Date: 1992/02/17.
Copyright 1982, 1988, 1989 by Walter F. Tichy.
Copyright 1990, 1991 by Paul Eggert.
SSEEEE AALLSSOO
diff3(1), diff(1), rcsmerge(1), co(1).
GNU 1992/02/17 1