I have two text files, one with 523 lines and another with 516 lines. Line 14 of text file 1 matches line 5 of text file 2. I would like to merge everything from lines 1-13 in text file 1 to before line 5 of text file 2. However, I do not want to do it using the visdiff function. Any suggestions? Unfortunately I am unable to share the code or contents of the text files.