Help for this page
foreach line in file1... { ... ...many comparisons... decide which one is next } }
foreach line in file1... { ... output the file1 line } output rest of file2 lines (if any)