home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / gr564b.zip / MERGE.1 < prev    next >
Text File  |  1992-07-28  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. MERGE(1)                                                 MERGE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        merge - three-way file merge
  9.  
  10. SSYYNNOOPPSSIISS
  11.        mmeerrggee [ --LL _l_a_b_e_l_1 [ --LL _l_a_b_e_l_3 ] ] [ --pp ] [ --qq ] _f_i_l_e_1
  12.        _f_i_l_e_2 _f_i_l_e_3
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        mmeerrggee incorporates all changes that lead from _f_i_l_e_2 to
  16.        _f_i_l_e_3 into _f_i_l_e_1.  The result goes to standard output if
  17.        --pp is present, into _f_i_l_e_1 otherwise.  mmeerrggee is useful for
  18.        combining separate changes to an original.  Suppose _f_i_l_e_2
  19.        is the original, and both _f_i_l_e_1 and _f_i_l_e_3 are
  20.        modifications of _f_i_l_e_2.  Then mmeerrggee combines both changes.
  21.  
  22.        An overlap occurs if both _f_i_l_e_1 and _f_i_l_e_3 have changes in
  23.        a common segment of lines.  On a few older hosts where
  24.        ddiiffff33 does not support the --EE option, mmeerrggee does not
  25.        detect overlaps, and merely supplies the changed lines
  26.        from _f_i_l_e_3.  On most hosts, if overlaps occur, mmeerrggee
  27.        outputs a message (unless the --qq option is given), and
  28.        includes both alternatives in the result.  The
  29.        alternatives are delimited as follows:
  30.  
  31.               <<<<<<<<<<<<<< _f_i_l_e_1
  32.               _l_i_n_e_s _i_n _f_i_l_e_1
  33.               ==============
  34.               _l_i_n_e_s _i_n _f_i_l_e_3
  35.               >>>>>>>>>>>>>> _f_i_l_e_3
  36.  
  37.        If there are overlaps, the user should edit the result and
  38.        delete one of the alternatives.  If the --LL _l_a_b_e_l_1 and
  39.        --LL _l_a_b_e_l_3 options are given, the labels are output in
  40.        place of the names _f_i_l_e_1 and _f_i_l_e_3 in overlap reports.
  41.  
  42. DDIIAAGGNNOOSSTTIICCSS
  43.        Exit status is 0 for no overlaps, 1 for some overlaps, 2
  44.        for trouble.
  45.  
  46. IIDDEENNTTIIFFIICCAATTIIOONN
  47.        Author: Walter F. Tichy.
  48.        Revision Number: 5.4; Release Date: 1992/02/17.
  49.        Copyright 1982, 1988, 1989 by Walter F. Tichy.
  50.        Copyright 1990, 1991 by Paul Eggert.
  51.  
  52. SSEEEE AALLSSOO
  53.        diff3(1), diff(1), rcsmerge(1), co(1).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. GNU                         1992/02/17                          1
  65.  
  66.  
  67.