Query: merge
OS: osf1
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
merge(1) merge(1)NAMEmerge - three-way file mergeSYNOPSISmerge [-Llabel1 [-Llabel3]] [-p] [-q] file1 file2 file3DESCRIPTIONmerge incorporates all changes that lead from file2 to file3 into file1. The result goes to standard 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. On a few older hosts where diff3 does not support the -E option, merge does not detect overlaps, and merely supplies the changed lines from file3. On most hosts, if overlaps occur, merge out- puts a message (unless the -q option is given), 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. If the -L label1 and -L label3 options are given, the labels are output in place of the names file1 and file3 in overlap reports.DIAGNOSTICSExit status is 0 for no overlaps, 1 for some overlaps, 2 for trouble.IDENTIFICATIONAuthor: Walter F. Tichy. Revision Number: 1.1.6.2; Release Date: 1993/10/07. Copyright (C) 1982, 1988, 1989 by Walter F. Tichy. Copyright (C) 1990, 1991 by Paul Eggert.SEE ALSOdiff3(1), diff(1), rcsmerge(1), co(1) merge(1)
Related Man Pages |
---|
merge(1) - suse |
merge(1) - opendarwin |
merge(1) - x11r4 |
merge(1) - php |
merge(1) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
grep -w Search for the expression as a word |
How can i join three lines into one in unix? |
Join and awk max column |
How to get unique of file1 from file2 and save the output? |
List of files |