bsd man page for merge

Query: merge

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MERGE(1)						      General Commands Manual							  MERGE(1)

NAME
merge - three-way file merge
SYNOPSIS
merge [ -p ] file1 file2 file3
DESCRIPTION
Merge incorporates all changes that lead from file2 to file3 into file1. The result goes to std. output if -p is present, into file1 other- wise. Merge is useful for combining separate changes to an original. Suppose file2 is the original, and both file1 and file3 are modifica- tions 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: 3.0 ; Release Date: 82/11/25 . Copyright (C) 1982 by Walter F. Tichy.
SEE ALSO
diff3 (1), diff (1), rcsmerge (1), co (1). Purdue University 6/29/83 MERGE(1)
Related Man Pages
merge(1) - debian
merge(1) - opendarwin
merge(1) - linux
merge(1) - php
merge(1) - xfree86
Similar Topics in the Unix Linux Community
Merge broken lines
Need script to merge two spreadsheets
Help with merge data with a reference sequence
Merge multiple lines into a single line
How to copy a column of multiple files and paste into new excel file (next to column)?