1 03/12/76 edit merge, edit mer
2
3 Function: The merge request combines two or more files according to
4 line number sequence. The first file specified serves as the primary
5 file for merging; that is, the file into which all other specified
6 files will be merged. Lines from subsequent files are inserted into
7 the primary file in the proper numerical sequence. If duplicate lines
8 occur, the last one encountered during the merge is retained. The
9 resulting file becomes the current file.
10
11
12 Syntax: edit merge file1 file2 file3 ... fileN
13
14
15 where each filei specified is merged into file1.
16
17
18 Example:
19
20 ! new filea
21 ready 1430
22
23
24 ! 10 Primary file
25 ! 40 to be merged
26 ! 60 with others
27 ! save
28 ready 1430
29 ! new fileb
30 ready 1430
31
32
33 ! 20 secondary file
34 ! 30 to be merged
35 ! 40 with filea
36 ! save
37 ready 1431
38
39
40 ! edit merge filea fileb
41 ready 1431
42
43
44 ! lisn
45 10 Primary file
46 20 secondary file
47 30 to be merged
48 40 with filea
49 60 with others
50 ready 1431