I have two files in which I know each line in one file must match the same line in the other file (i.e. line 25 in the first file should match line 25 in the second).
I want the lines to line up by line numbers, but because of some of the differences, the lines are being misaligned (i.e. line 25 in the first file is being aligned with line 26 in the second).
Is there a way I can align all the lines by line number?
Doing it manually, line by line, is not the answer I'm looking for (these files are several hundred lines long, with several dozen misalignments).
I want the lines to line up by line numbers, but because of some of the differences, the lines are being misaligned (i.e. line 25 in the first file is being aligned with line 26 in the second).
Is there a way I can align all the lines by line number?
Doing it manually, line by line, is not the answer I'm looking for (these files are several hundred lines long, with several dozen misalignments).
Comment